错误整理
DavidChou
这个作者很懒,什么都没留下…
展开
-
错误整理:No plugin found for prefix 'jetty' in the current project and in the plugin groups
在maven进行jetty的调试中出现错误:[ERROR] No plugin found for prefix 'jetty' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [loca原创 2013-03-04 15:38:45 · 71222 阅读 · 8 评论 -
错误整理:RsyncServer服务无法正常启动的解决办法
服务器在意外重启后,RsyncServer服务不能启动,提示“本地计算机上的reyncserver服务启动后又停止了”,应该是由于当时rsync正在进行同步而导致这个情况的。网上的资料还是真少,就找到一个相近案例(软件部出名还是用的人少?),方法是将安装目录下的rsyncd.pid文件删除或改名即可,再重新启动RsyncServer服务,OK,成功了,rsyncd.pid文件会自动重新生成。原创 2013-04-18 10:19:28 · 2448 阅读 · 1 评论 -
错误整理:ORA-02269
ORA-02269:key column cannot be of LONG datatypeCause:Self-evident.Action:Change the datatype of the column, or remove the column from the key.oracle中的主键不能使用LONG类型,更改主键类型即可。原创 2013-03-25 18:55:20 · 2086 阅读 · 0 评论 -
错误整理: ORA-12705: Cannot access NLS data files or invalid environment specified
打开pl/sql登录oracle数据库的时候出现错误:ORA-12705: Cannot access NLS data files or invalid environment specified NLS_LANG 值是NA 会引起 ORA-12705 错误,解决方法是修改环境变量 NLS_LANG=SIMPLIFIED CHINESE_CHINA.ZHS16GBK也可以直接去修改注原创 2013-03-20 13:40:25 · 20383 阅读 · 2 评论 -
错误整理:Tomcat容器报错IOException while loading persisted sessions: java.io.EOFException
一直用tomcat一段时间都比较正常,最近一次启动tomcat就发生以下异常:严重: IOException while loading persisted sessions: java.io.EOFException严重: Exception loading sessions from persistent storage原因是tomcat对硬盘的session读取失败,原创 2013-02-28 13:58:14 · 577 阅读 · 0 评论 -
错误整理:JVM报错GC overhead limit exceeded
May 31, 2012 11:54:25 AM org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler processSEVERE: Error reading request, ignoredjava.lang.OutOfMemoryError: GC overhead limit exceededException转载 2013-02-28 13:32:32 · 7169 阅读 · 0 评论 -
错误整理:could not interpret id generator strategy: uuid.string
报错信息:could not interpret id generator strategy: uuid.string错误解决及分析:在hibernate2.1中,主键生成策略中uuid分为uuid.hex和uuid.string,但是从hibernate3.0开始已经不再支持uuid.string,查看changelog可以发现:1. Changes in version 3.0原创 2013-02-28 11:20:21 · 4884 阅读 · 0 评论 -
错误整理:jfreechart报错org.apache.jasper.JasperException: The 'quality' must be in the range 0.0f to 1.0f
做项目的时候用到jfreechat ,在保存图片的时候出现一个错误org.apache.jasper.JasperException: The 'quality' must be in the range 0.0f to 1.0f只要将程序中的ChartUtilities.writeChartAsJPEG(fos_jpg, 100, chart, 400, 300, null);原创 2013-02-28 13:54:51 · 1315 阅读 · 0 评论 -
错误整理:容器启动报错com.sun.faces.config.WebConfiguration cannot be cast to com.sun.faces.config....
错误集锦:今天用Jboss部署一个web项目的时候报了个奇怪的错误(用Tomcat部署运行良好),错误信息如下:java.lang.ClassCastException: com.sun.faces.config.WebConfiguration cannot be cast to com.sun.faces.config.WebConfiguration 于是乎去Google解原创 2013-02-28 13:53:11 · 4726 阅读 · 0 评论 -
错误整理:Unable to add module to the current project as it is not of packaging type 'pom'
今天在eclipse中新建Maven工程,怎么建都报如下错误。Unable to create project from archetype [org.apache.maven.archetypes:maven-archetype-quickstart:1.1] Unable to add module to the current project as it is not of pa原创 2013-03-06 17:02:08 · 5196 阅读 · 2 评论 -
class file has wrong version 50.0, should be 49.0
编译的时候,发生如下错误:class file has wrong version 50.0, should be 49.0 究其原因:由于引入的第三方jar包的编译器版本与当前编译器版本不一致造成。这个类是在JDK1.6的环境下编译的,把他放在JDK1.5环境的服务器下发生以上错误,只要将这个类重新在JDK1.5环境下编译就可以了解决方案:转载 2014-01-02 17:12:13 · 1328 阅读 · 0 评论