启动Weblogic 时会报错.javax.xml.namespace.QName; local class incompatible: stream classdesc serialVersionUID = 4418622981026545151, local class serialVersionUID = -6756054858541526837 在网上查到是jdk 1.5的一个bug.(a threadID=600014563) 解决办法: jvm的启动参数中添加:-Dcom.sun.x…
解决 java.lang.LinkageError: loader constraint violation: loader (instance of weblogic/utils/classloaders/ChangeAwareClassLoader) previously initiated loading for a different type with name "javax/xml/namespace/QName" weblogic.xml <?xml version…
项目中有个 WebService 接口,调试时使用 Main 方法运行,别人的机器上都能运行,就笔者的机器出问题.他们说是RP的问题…… 异常信息: java.io.InvalidClassException: javax.xml.namespace.QName; local class incompatible: stream classdesc serialVersionUID = 4418622981026545151, local class serialVersionUID = -91…
jenkins启动时报错: consider increasing the maximum size of the cache. After eviction approximately [10,239] KB of data 缓存不足 解决办法: D:\tomcat\apache-tomcat-8.5.32\conf\context.xml 中加上一行 <Resources cachingAllowed="true" cacheMaxSize="100000&q…
今天新安装了soapui准备测试一下接口,结果安装成功后启动时报错:The JVM could not be started. The maximum heap size (-Xmx) might be too large 意思就是:Java虚拟机无法启动.Xmx可能太大 这时就需要将这个参数的值改小一点. 经过排查这个参数在soapui安装目录\bin\目录下的vmoptions配置文件中 将原来的值改为800,保存后启动成功…
mysql启动报错Starting MySQL... ERROR! The server quit without updating PID file (/opt/mysql/data/mysql.pid) 查看mysql错误日志也没有写入. 最后发现是selinux打开,汗…… 参考 mysql启动时报错:Starting MySQL... ERROR! The server quit without updating PID file (/opt/mysql/data/mysql.pid)…
tomcat maven插件启动报错tomcat-users.xml cannot be read [ERROR] Failed to execute goal org.codehaus.mojo:tomcat-maven-plugin:1.1:run (default-cli) on project metaDB: Could not start Tomcat: Memory database file D:\WORK\target\tomcat\conf\tomcat-users.xml c…
Eclipse启动时报错Java was started but returned exit code=13 如图所示 原因是通过第三方更新JRE时,第三方安装的是32位的JRE,与64位的eclipse不匹配(报错信息的--launcher.library中有x86_64说明这个eclipse是64位的) JDK8/JRE8在安装完成之后,会添加一个环境变量C:\ProgramData\Oracle\Java\javapath 这个环境变量是三个快捷方式,分别是java.exe.lnk jav…
netperf启动netserver时报错 "Unable to start netserver with 'IN(6)ADDR_ANY' port '12865' and family AF_UNSPEC'" netserver启动报错: 如果netserver启动时端口被占用,则会报以下错误: Unable to start netserver with 'IN(6)ADDR_ANY' port '12865' and family AF_UNSPEC 解决方法—亲测可用: 指定一…
运行tomcat/bin目录下的startup.bat时报错:the CATALINA_HOME environment variable is not defined correctly 碰到这个问题时的第一反应是添加CATALINA_HOME环境变量: 添加环境变量后发现问题不能解决,还是报同样的错误,打开startup.bat脚本,找到出错的位置 阅读代码后可以发现: 1. 未设置CATALINA_HOME变量时,系统会将cd所在的路径设置为CATALINA_HOME,所以引发了第…
AVD启动报错 1.提示:ANDROID_SDK_ROOT is undefined / ERROR: This AVD’s configuration is missing a kernel file! Please ensure the file “kernel-qemu” is in the same location as your system image. 在Windows上: 打开CMD 输入: setx -m ANDROID_SDK_ROOT '--path--to--sdk--…
java.lang.ClassCastException: com.octetstring.vde.backend.BackendRoot cannot be cast to com.octetstring.vde.backend.standard.BackendStandard at weblogic.ldap.EmbeddedLDAP.start(EmbeddedLDAP.java:273) at weblogic.t3.srvr.SubsystemRequest.run(Subsystem…
Spring V4.1以后的版本在不支持Servlet3.0的应用服务器上跑时会报如下错误: NoSuchMethodError: javax.servlet.http.HttpServletResponse.getStatus()I 解决办法:更换spring的版本,或者更换tomcat的版本,使用tomcat7及以上…