
开发出错集合
pcjavanet
这个作者很懒,什么都没留下…
展开
-
STS install plugin with proxy
keytool -import -alias sub -keystore /home/myhome/tools/jdk1.8.0_192/jre/lib/security/cacerts -file /home/my/Downloads/sub-vmargs-Djavax.net.ssl.trustStore=/home/myhome/tools/jdk1.8.0_192/jre/lib/security/cacerts-Djavax.net.ssl.trustStorePassword...原创 2020-07-29 15:59:41 · 164 阅读 · 0 评论 -
javax/xml/rpc/Service+org/apache/catalina/loader/WebappClassLoader
javax/xml/rpc/Service+org/apache/catalina/loader/WebappClassLoader原创 2010-07-09 16:59:00 · 3014 阅读 · 2 评论 -
缺少activation-1.0.2.jar的错误
缺少activation-1.0.2.jar错误提示java.lang.NoClassDefFoundError: javax/activation/FileTypeMap原创 2010-04-09 16:18:00 · 5538 阅读 · 0 评论 -
spring2.5.jar的一个bug
Exception in thread "main" java.lang.NullPointerException at org.springframework.mail.MailSendException.toString(MailSendException.java:124) org.springframe原创 2010-04-09 16:27:00 · 596 阅读 · 0 评论 -
liferay portlet.xml配置顺序引起的错误
view edit text/html 15:59:47,488 ERROR [PortletLocalServiceImpl:494] com.liferay.portal.kernel.xml.DocumentException: Error on原创 2010-04-16 16:11:00 · 1894 阅读 · 0 评论 -
Error reading tld listeners java.lang.NullPointerException
错误提示 1. 启动的时候严重: Error reading tld listeners java.lang.NullPointerExceptionjava.lang.NullPointerException at org.apache.log4j.Category.isEnabledFor(Category.java:737) at org.apache.com原创 2010-04-16 15:25:00 · 5411 阅读 · 1 评论 -
缺少standard.jar报的错误
at com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:179) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvoc原创 2009-12-30 16:23:00 · 1373 阅读 · 0 评论 -
JSTL 在tomcat5.5(liferay+tomcat5.5)下不起作用
如题,使用JSTL标签库编写page,发现标签不起作用,如 ${fn:substring(varGt, 1, fn:length(varGt) )} ,在所在页面加上,标签正常工作。Tomcat6没有这个问题。 所用jarjstl-1.1.2.jarstandard-1.1.2.jar原创 2010-03-12 17:07:00 · 841 阅读 · 0 评论 -
tomcat server.xml 节点导致的错误
错误信息org.apache.tomcat.util.digester.SetPropertiesRule begin警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property source to org.eclipse.jst.jee.server:SPCPortal did not f原创 2009-12-03 14:04:00 · 2315 阅读 · 0 评论 -
web.xml的tablib标签出现的错误
原来的 http://java.sun.com/jstl/core_rt /WEB-INF/tld/c-rt.tld 错误提示cvc-complex-type.2.4.a: Invalid content was found starting with element taglib. One of原创 2009-12-03 12:14:00 · 1818 阅读 · 2 评论 -
cannot find the tag library descriptor for "http://java.sun.com/jsp/jstl/core"
出现以下错误cannot find the tag library descriptor for "http://java.sun.com/jsp/jstl/core"解决方法pom.xml添加 jstl jstl 1.1.2 taglibs standard 1.1.2 或在原创 2009-12-03 16:08:00 · 7241 阅读 · 3 评论 -
liferay标签theme和strust2标签使用时发生的错误
liferay标签theme和strust2标签使用时发生的错误原创 2010-07-01 11:37:00 · 719 阅读 · 0 评论 -
spring+webservice工程示例
服务器端1.server-config.wsdd原创 2010-05-12 16:22:00 · 2987 阅读 · 1 评论 -
mybatis 使用 log4j debug sql
配置log4j 输出 mybattis输出# Global logging configurationlog4j.rootLogger=ERROR, stdout# MyBatis logging configuration...log4j.logger.com.xxx..dao.mybatis.BlogMapper=TRACE# Console output...log4j.appender....原创 2018-03-09 10:20:53 · 940 阅读 · 0 评论 -
viirtualbox安装centos报错
屏幕出现错误信息如下" unknown interrupt or fault EIP 00000060 c04011ed 000011ec"更改设置 -->系统 -->处理器-->扩展特性 [ 选中 启用PAE/NX 选项]详细如下图原创 2012-07-13 09:54:02 · 924 阅读 · 0 评论 -
ubuntu12.04 直接修改/etc/hostname报错
原因修改了/etc/hostname 而没修改 /etc/hosts程序启动报错如下java.net.UnknownHostException: cool: cool: 未知的名称或服务 at java.net.InetAddress.getLocalHost(InetAddress.java:1438) at org.exoplatform.servi原创 2012-06-20 08:56:34 · 2239 阅读 · 0 评论 -
64位ubuntu装32位Eclipse 启动失败
点击 Eclipse ,提示 JVM terminated Exitcode=13,Eclipse IDE for Java EE Developers, 210 MBDownloaded 1,227,648 TimesDetailsLinux 32 BitLinux 64 Bit重新下载64位原创 2011-11-22 15:37:45 · 1633 阅读 · 0 评论 -
WebApplication 下有 jsp-api.jar servlet-api.jar导致出错
WebApplication 下有 jsp-api.jar servlet-api.jar导致出错,在pom.xml注解掉解决 javax.servlet jsp-api 2.0原创 2011-09-03 15:13:24 · 1966 阅读 · 0 评论 -
spring2.5.6.jar +hibernate-entitymanager-3.6.6.Final报错
spring2.5.6.jar +hibernate-entitymanager-3.6.6.Final报错原创 2011-07-30 17:51:21 · 2499 阅读 · 0 评论 -
重构 Eclipse Web项目导致的错误及解决方法
重构 Eclipse Web项目导致的错误及解决方法原创 2011-07-21 18:05:21 · 3521 阅读 · 0 评论 -
在maven中调用rt.jar
在maven中调用rt.jar原创 2010-09-27 17:06:00 · 14430 阅读 · 0 评论 -
mysql 驱动名称不正确导致的错误
mysql 驱动名称不正确导致的错误原创 2010-08-09 21:29:00 · 10044 阅读 · 0 评论 -
strust2 从2.0.11.1升级到2.1.2报的错误
[ ERROR 2009-11-30 16:21:00 freemarker.runtime - 96 - error ] : Expression parameters.parseContent is undefined on line 45, column 28 in template/ajax/head.ftl.The problematic instruction:----------=原创 2009-12-01 00:47:00 · 2033 阅读 · 1 评论 -
tomcat启动,其中一个应用的报Error listenerStart
某一项目由于资源文件路径不对导致错误,tomcat服务器没有很多的提示信息需要让服务器提供更多的错误提示来解决问题方案一1>在tomcat安装目录的common/classes中建立一个属性文件log4j.properties2>在文件中写入日志的信息及日志记录的等级:log4j.rootLogger=info,Console,Rlog4j.appender.Conso原创 2010-01-21 17:18:00 · 683 阅读 · 0 评论 -
eclipse中集成jad反编译
需要两个东东 Jadclips插件,网址: ( http://jadclipse.sourceforge.net/wiki/index.php/Main_Page#Download) Jad反编译工具,网址:http://www.kpdus.com/jad.html#download (http://nchc.dl.sourceforge.net/sourceforge/jadc转载 2008-11-12 21:07:00 · 610 阅读 · 0 评论 -
java 访问Access 出现的连接错误
private String dbUrl = "jdbc:odbc:driver={Microsoft Access Driver (*.mdb)};DBQ=D:/eclipse3.3/workspace/clothHouseb/clothMgr.mdb"; Connection con = DriverManager.getConnection(dbUrl,"","");原创 2008-10-31 23:19:00 · 1509 阅读 · 0 评论 -
在maven工程引起 struts2-core发生的错误
现象Project test2 is missing required library: C:/Program Files/Java/lib/tools.jar原因在localRepository 的文件夹org/apache/struts/struts2-core/里的pom.xml文件有误正确如下原创 2008-09-23 23:01:00 · 1029 阅读 · 0 评论 -
开Axis设置Axis2 Preferences不对或不设置出现的错误
1 Axis2 Preferences 面板出现的错误Error occurred during loading Axis2 Runtime. Please select the correct Axis2 runtime folder !!2.向导产生Web Services project产生的错误Failed while installing Axis2 Web Services原创 2008-08-03 16:47:00 · 3772 阅读 · 0 评论 -
服务器包冲突导致客户端调用Web service 的出错提示
服务器包冲突导致客户端调用Web service 的出错提示,跟上次博客提到的是同以类型出错错误提示java.lang.reflect.UndeclaredThrowableException at $Proxy0.findByLogin(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)原创 2008-04-28 15:57:00 · 1637 阅读 · 0 评论 -
一个pom.xml 的出错提示
出错提示Referenced file contains errors (http://maven.apache.org/maven-v4_0_0.xsd). For more information, right click on the message and select "Show Details..."解决方法 将该pom.xml文件删掉,通过eclipse重新建立一个po原创 2008-04-14 21:43:00 · 3790 阅读 · 1 评论 -
maven对不同的包引用发生的错误
pom.xml文件 4.0.0 MyXMLParese MyXMLParese 0.0.1-SNAPSHOT mycom smproxy 1.0 fop fop 0.20.5 错误提示Exception in thread "main" java.lang.ClassCas原创 2008-04-11 10:48:00 · 1455 阅读 · 0 评论 -
使用PreparedStatementSetter 设置参数跟 表字段类型不匹配出现的错误
错误提示[ INFO 2008-04-08 14:57:42 org.springframework.jdbc.support.SQLErrorCodesFactory - 120 - ] : SQLErrorCodes loaded: [DB2, HSQL, MS-SQL, MySQL, Oracle, Informix, PostgreSQL, Sybase][ ERROR 2008-04-原创 2008-04-11 10:52:00 · 4816 阅读 · 0 评论 -
java 数值类型转换时,如果格式不对
String s = "1.0"; long l = Long.valueOf(s);会抛出异常如下:Exception in thread "main" java.lang.NumberFormatException: For input string: "1.0" at java.lang.NumberFormatException.forInputString(NumberFo原创 2008-04-01 11:57:00 · 2399 阅读 · 0 评论 -
java sql 访问 access出现的错误
sql.append( " AND indate>=").append(indate).append("");java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] 标准表达式中数据类型不匹配。 at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:69原创 2008-11-16 23:33:00 · 947 阅读 · 0 评论 -
注解不正确导致实体bean找不到的错误
所用jarhibernate-3.2.6.ga.jarhibernate-annotations-3.3.0.ga.jaribernate-commons-annotations-3.3.0.ga.jarspring-orm-2.5.4.jarspring-core-2.5.4.jarspring-context-support-2.5.4.jarspring-cont原创 2008-11-15 11:07:00 · 2234 阅读 · 0 评论 -
应用连接池缺少类时报的错误
Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name datasource defined in file Instantiation of bean failed; nested exception is java.原创 2009-01-30 09:56:00 · 648 阅读 · 0 评论 -
Eclipse3.5启动tomcat超时
错误提示Server Tomcat v6.0 Server at localhost was unable to start within 45 seconds. If the server requires more time, try increasing the timeout in the server editor. 解决方法原创 2009-11-24 11:30:00 · 1234 阅读 · 0 评论 -
Postgresql8.3 如何控制来自其他电脑的连接
缺省情况下,PostgreSQL只允许来自本机且通过 unix 域套接字或TCP/IP方式的连接。 你只有在修改了配置文件postgresql.conf中的listen_addresses,且也在配置文件$PGDATA/pg_hba.conf中打开了 基于远程电脑( host-based )的身份认证,并重新启动PostgreSQL,否则其他电脑是不能与你的PostgreSQL服务器进行连接的。原创 2009-10-29 13:01:00 · 2773 阅读 · 0 评论 -
一个xml不规范导致的错误
java源码package jelly;import java.io.FileWriter;import java.io.Writer;import org.apache.commons.jelly.JellyContext;import org.apache.commons.jelly.XMLOutput;public class JellyTest { public stati原创 2009-09-01 11:22:00 · 4235 阅读 · 0 评论 -
一个linux启动Eclipse不成功出现的错误
由于需要,在eclipse3.4成为主流的今天,依然需要使用Eclipse3.3,因为mave1.0.2 for eclipse不能在eclipse 运行。不得于铁定要用Ecipse,但是出现一些预想不到的问题,这个问题在window是不存在,或许是跟Ecipse本身有关,与操作系统无关。经测试,发现在linux+eclipse-SDK-3.3.1-linux-gtk.tar.gz/linux+e原创 2009-06-15 16:30:00 · 5641 阅读 · 2 评论