我在使用SimpleCursorAdapter的过程中遇到了问题: java.lang.IllegalArgumentException: column '_id' does not exist 这个问题的原因很好找,点进CursorAdapter中就能看到,它需要一个叫"_id"的键值.而且是必须. 而我的数据库的主键是_ID,所以配合不上.那么解决的办法也很简单,query的时候加上as _id就行了.比如你的键值是_ID那么就用select _ID as id, xx,xxxx,…
Tomcat的异常 之 java.lang.IllegalArgumentException: Document base 有些刚开始使用的Tomcat的朋友会出现的问题,明明已经将某个web应用从tomcat下的webapps下移除了,为什么还会抛这样的异常呢? java.lang.IllegalArgumentException: Document base *** does not exist or is not a readable directoryat org.apache.nami…
关于Tomcat的 Document base ……does not exist or is not a readable directory错误 java.lang.IllegalArgumentException: Document base E:\program\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\Echarts does not exist or is not a readabl…
启动tomcat的时候报如下错误: java.lang.IllegalArgumentException: Document base F:\java\tools\tomcat\me-webapps\drp1.1 does not exist or is not a readable directory at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:142) at org.a…
easyUI的datagrid导出Excel时报如下错误: [2018-06-20 15:00:21] [ERROR] [org.jeecgframework.poi.excel.export.ExcelExportServer:171] Minimum column number is 0 java.lang.IllegalArgumentException: Minimum column number is 0 at org.apache.poi.ss.util.CellRangeAddre…
java.lang.IllegalArgumentException: Document base D:\apache-tomcat-6.0.45\webapps\erp does not exist or is not a readable directory at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:142) at org.apache.catalina.core.Standard…
严重: Error starting static Resources java.lang.IllegalArgumentException: Document base E:\myworkspace\evecomoa\WebRoot does not exist or is not a readable directory at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext... 解决办法: E:\my…