resin版本低报错:Absent Code attribute in method that is not native or abstract in class file javax/valida
来源:互联网 发布:如何评价宋思明知乎 编辑:程序博客网 时间:2024/06/06 02:30
问题日志:
log4j:WARN No appenders could be found for logger (net.sf.ehcache.CacheManager).
log4j:WARN Please initialize the log4j system properly.[09:33:34.615] {main} WebApp[http://admp.21cn.com/admp] Initializing Spring root WebApplicationContext
[09:34:03.353] {main} WebApp[http://admp.21cn.com/admp] Initializing Spring FrameworkServlet 'dispatcherServlet'
[09:34:07.385] {main} java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file javax/validation/Validation
[09:34:07.385] {main} at java.lang.ClassLoader.defineClass1(Native Method)
[09:34:07.385] {main} at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
[09:34:07.385] {main} at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
[09:34:07.385] {main} at com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1523)
[09:34:07.385] {main} at com.caucho.loader.DynamicClassLoader.findClassImpl(DynamicClassLoader.java:1390)
[09:34:07.385] {main} at com.caucho.loader.DynamicClassLoader.loadClassImpl(DynamicClassLoader.java:1289)
[09:34:07.385] {main} at com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1219)
[09:34:07.385] {main} at com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1203)
[09:34:07.385] {main} at org.springframework.validation.beanvalidation.LocalValidatorFactoryBean.afterPropertiesSet(LocalValidatorFactoryBean.java:191)
[09:34:07.385] {main} at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1573)
[09:34:07.385] {main} at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1511)
[09:34:07.385] {main} at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:521)
[09:34:07.385] {main} at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
[09:34:07.385] {main} at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
[09:34:07.385] {main} at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
[09:34:07.385] {main} at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
[09:34:07.385] {main} at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191)
[09:34:07.385] {main} at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:636)
[09:34:07.385] {main} at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:938)
[09:34:07.385] {main} at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
[09:34:07.385] {main} at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:651)
[09:34:07.385] {main} at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:602)
[09:34:07.385] {main} at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:665)
[09:34:07.385] {main} at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:521)
[09:34:07.385] {main} at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:462)
[09:34:07.385] {main} at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:136)
[09:34:07.385] {main} at javax.servlet.GenericServlet.init(GenericServlet.java:70)
[09:34:07.385] {main} at com.caucho.server.dispatch.ServletConfigImpl.createServletImpl(ServletConfigImpl.java:833)
[09:34:07.385] {main} at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:735)
[09:34:07.385] {main} at com.caucho.server.dispatch.ServletManager.init(ServletManager.java:159)
[09:34:07.385] {main} at com.caucho.server.webapp.WebApp.start(WebApp.java:1874)
[09:34:07.385] {main} at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667)
[09:34:07.385] {main} at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72)
[09:34:07.385] {main} at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549)
[09:34:07.385] {main} at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160)
[09:34:07.385] {main} at com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:659)
[09:34:07.385] {main} at com.caucho.server.host.Host.start(Host.java:450)
[09:34:07.385] {main} at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667)
[09:34:07.385] {main} at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72)
[09:34:07.385] {main} at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549)
[09:34:07.385] {main} at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160)
[09:34:07.385] {main} at com.caucho.server.host.HostContainer.start(HostContainer.java:484)
[09:34:07.385] {main} at com.caucho.server.cluster.Server.start(Server.java:1319)
[09:34:07.385] {main} at com.caucho.server.cluster.Cluster.startServer(Cluster.java:710)
[09:34:07.385] {main} at com.caucho.server.cluster.ClusterServer.startServer(ClusterServer.java:542)
[09:34:07.385] {main} at com.caucho.server.resin.Resin.start(Resin.java:703)
[09:34:07.385] {main} at com.caucho.server.resin.Resin.initMain(Resin.java:1162)
[09:34:07.385] {main} at com.caucho.server.resin.Resin.main(Resin.java:1365)
[09:34:07.393] {main} WebApp[http://admp.21cn.com/admp] active
[09:34:40.689] {resin-destroy} WebApp[http://admp.21cn.com/admp] stopping
[09:34:40.691] {resin-destroy} WebApp[http://admp.21cn.com/admp] Closing Spring root WebApplicationContext
解决办法:
由原来的resin-3.1.11换成resin-4.0.30,问题解决。
个人觉得:应该是其中的javaee的一个包resin-3.1.11不支持。
0 0
- resin版本低报错:Absent Code attribute in method that is not native or abstract in class file javax/valida
- Absent Code attribute in method that is not native or abstract in class file javax/mail/Session 解决方式
- Absent Code attribute in method that is not native or abstract in class file javax/mail/MessagingExc
- 异常:Absent Code attribute in method that is not native or abstract in class
- java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class
- java.lang.ClassFormatError: Absent Code attribute in method
- The file is absent or does not have execute permission
- error: DynamicDataSource is not abstract and does not override abstract method getParentLogger() in
- According to TLD or attribute directive in tag file, attribute value does not accept any expressions
- JSTL Exception: According to TLD or attribute directive in tag file, attribute items does not accept
- According to TLD or attribute directive in tag file, attribute value does not accept any expressions
- According to TLD or attribute directive in tag file, attribute value does not accept any expressions
- According to TLD or attribute directive in tag file, attribute value does not accept any expressions
- according to tld or attribute directive in tag file attribute items does not accept any expressions
- According to TLD or attribute directive in tag file, attribute value does not accept any expressions
- According to TLD or attribute directive in tag file, attribute value does not accept any expressions
- According to TLD or attribute directive in tag file, attribute value does not accept any expressions
- According to TLD or attribute directive in tag file, attribute value does not accept any expressions
- 深入源码分析HashSet
- JAVA--单例模式(Singleton)--设计模式三
- bzoj 1231: [Usaco2008 Nov]mixup2 混乱的奶牛(状压DP)
- 仿茄子快传应用源码下载
- XML文件配置转化对象使用
- resin版本低报错:Absent Code attribute in method that is not native or abstract in class file javax/valida
- linux下配置安装mongodb
- Hibernate映射解析——七种映射关系
- Android内存溢出提示android.view.InflateException: Binary XML file解决方案
- 算法学习【8】二叉树相关算法
- HDU 5439 Aggregated Counting
- 如何做好网站导航的布局优化?
- hdu3746Cyclic Nacklace(kmp的next的使用)
- sublime的插件 git教程