[WARNING] Unable to process class com/ibm/icu/impl/data/LocaleElements_zh__PINYIN.class in JarAnalyzer File icu4j-2.6.1.jar Invalid byte tag in constant pool: 60
pom.xml中過濾icu4j
icu4j com.ibm.icu
The Apache Tomcat Native library which allows optimal performance in production environments was not found ……
下載tcnative-1.dll文件放到path目錄下, 區分32位/64位
解決SSL證書PKIX問題
解決SSL證書PKIX問題 Java安全通訊:HTTPS與SSL Java#PKIX path building failed
java.lang.IllegalStateException: BeanFactory not initialized or already closed - call ‘refresh’ before accessing beans via the ApplicationContext
從新編譯
JRebel-SDK-CBP: ERROR Class ‘org.apache.ibatis.reflection.Reflector’ could not be processed by org.zeroturnaround.jrebel.mybatis.cbp.ReflectorCBP@org.apache.catalina.loader.WebappClassLoader@60f017: org.zeroturnaround.bundled.javassist.NotFoundException: forClass(..) is not found in org.apache.ibatis.reflection.Reflector
mybatis要用3.2.7, 3.3.0版本中Reflector類缺乏forClass方法
WARN CacheConfiguration - Cache ‘Cache1’ is set to eternal but also has TTI/TTL set. To avoid this warning, clean up the config removing conflicting values of eternal, TTI and TTL. Effective configuration for Cache ‘Cache1’ will be eternal=’true’, timeToIdleSeconds=’0’, timeToLiveSeconds=’0’.
能夠無論,或者修改ehcache.xml中配置
java.lang.ClassNotFoundException: org.springframework.web.servlet.DispatcherServlet.class
缺乏jar包
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>3.0.5.RELEASE</version>
</dependency>
org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application
缺乏jar包
<dependency>
<groupId>jstl</groupId>
<artifactId>jstl</artifactId>
<version>1.2</version>
</dependency>
java.lang.IllegalStateException: Cannot map handler ‘com.lzk.controller.ViewController0’ to URL path [/view.form]: There is already handler of type [class com.lzk.controller.ViewController] mapped.
java 代碼裏使用了註解 又在配置文件配置了bean
Unsupported major.minor version 52.0 (unable to load class com.hqhop.framework.common.bind.annotation.Repository)
Eclipse配置Tomcat的JDK版本與項目的JDK版本不一致, 屬性設置Tomcat的JDK版本 unsupported major.minor version 解決方法 錯誤:Unsupported major.minor version 51.0(jdk版本錯誤)
WARN UUIDHexGenerator:59 - HHH000409: Using org.hibernate.id.UUIDHexGenerator which does not generate IETF RFC 4122 compliant UUID values; consider using org.hibernate.id.UUIDGenerator instead
Using org.hibernate.id.UUIDHexGenerator的解決方案
org.springframework.web.HttpMediaTypeNotAcceptableException: Could not find acceptable representation
缺乏jar包 ```xml
org.codehaus.jackson jackson-core-asl org.codehaus.jackson jackson-mapper-asl
```
org.apache.tomcat.util.bcel.classfile.ClassFormatException: null is not a Java .class file
在$TOMCAT_HOME/conf/catalina.properties文件 的tomcat.util.scan.DefaultJarScanner.jarsToSkip中添加DB2驅動的Jar包文件名如」 db2jcc4.jar」 便可。html
本文選自福州樓鳳java