- 浏览: 1151617 次
- 性别:
- 来自: 北京
文章分类
- 全部博客 (411)
- Java Foundation (41)
- AI/机器学习/数据挖掘/模式识别/自然语言处理/信息检索 (2)
- 云计算/NoSQL/数据分析 (11)
- Linux (13)
- Open Source (12)
- J2EE (52)
- Data Structures (4)
- other (10)
- Dev Error (41)
- Ajax/JS/JSP/HTML5 (47)
- Oracle (68)
- FLEX (19)
- Tools (19)
- 设计模式 (4)
- Database (12)
- SQL Server (9)
- 例子程序 (4)
- mysql (2)
- Web Services (4)
- 面试 (8)
- 嵌入式/移动开发 (18)
- 软件工程/UML (15)
- C/C++ (7)
- 架构Architecture/分布式Distributed (1)
最新评论
-
a535114641:
LZ你好, 用了这个方法后子页面里的JS方法就全不能用了呀
页面局部刷新的两种方式:form+iframe 和 ajax -
di1984HIT:
学习了,真不错,做个记号啊
Machine Learning -
赵师傅临死前:
我一台老机器,myeclipse9 + FB3.5 可以正常使 ...
myeclipse 10 安装 flash builder 4.6 -
Wu_Jiang:
触发时间在将来的某个时间 但是第一次触发的时间超出了失效时间, ...
Based on configured schedule, the given trigger will never fire. -
cylove007:
找了好久,顶你
Editable Select 可编辑select
碰到了这么个问题:
应用部署在resin中;上传我本地的某个class文件后,访问action时抛出如上异常;java -version,发现linux下的jdk版本是1.5,而我本地是1.6的。更换编译器为1.5,重新上传编译后的class文件,即可。
参见:
Eclipse @override报错解决
http://justdo2008.iteye.com/blog/433579
[14:30:26.244] javax.servlet.ServletException: Unable to instantiate Action, com.ambow.upgrade.extraction.action.DataExtractAction, defined for 'syncAction' in namespace '/datasync'Error creating bean with name 'classStuRealExtractService' defined in file [/opt/resin/webapps/lylearnnet/WEB-INF/classes/spring/applicationContext-dataExtract.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.ambow.upgrade.extraction.service.impl.ClassStuRealExtractServiceImpl]: Constructor threw exception; nested exception is java.lang.UnsupportedClassVersionError: com/ambow/upgrade/extraction/dao/ClassStuRealExtractDAO : unsupported classversion 50.0 [14:30:26.244] at com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(DispatcherUtils.java:236) [14:30:26.244] at com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:202) [14:30:26.244] at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:73) [14:30:26.244] at com.ambow.core.web.filter.FilterLogin.doFilter(FilterLogin.java:62) [14:30:26.244] at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:73) [14:30:26.244] at com.ambow.core.web.filter.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:238) [14:30:26.244] at com.ambow.sso.client.filter.SsoFilter.doFilter(SsoFilter.java:97) [14:30:26.244] at com.ambow.core.web.filter.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:250) [14:30:26.244] at com.ambow.core.web.filter.FilterChainProxy.doFilter(FilterChainProxy.java:129) [14:30:26.244] at com.ambow.core.web.filter.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:73) [14:30:26.244] at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:73) [14:30:26.244] at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198) [14:30:26.244] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75) [14:30:26.244] at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:73) [14:30:26.244] at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96) [14:30:26.244] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75) [14:30:26.244] at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:73) [14:30:26.244] at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:175) [14:30:26.244] at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:240) [14:30:26.244] at com.caucho.server.hmux.HmuxRequest.handleRequest(HmuxRequest.java:424) [14:30:26.244] at com.caucho.server.port.TcpConnection.run(TcpConnection.java:481) [14:30:26.244] at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:685) [14:30:26.244] at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:607) [14:30:26.244] at java.lang.Thread.run(Thread.java:595) [14:30:26.244] Caused by: Unable to instantiate Action, com.ambow.upgrade.extraction.action.DataExtractAction, defined for 'syncAction' in namespace '/datasync'Error creating bean with name 'classStuRealExtractService' defined in file [/opt/resin/webapps/lylearnnet/WEB-INF/classes/spring/applicationContext-dataExtract.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.ambow.upgrade.extraction.service.impl.ClassStuRealExtractServiceImpl]: Constructor threw exception; nested exception is java.lang.UnsupportedClassVersionError: com/ambow/upgrade/extraction/dao/ClassStuRealExtractDAO : unsupported classversion 50.0 [14:30:26.244] at com.opensymphony.xwork.DefaultActionInvocation.createAction(DefaultActionInvocation.java:243) [14:30:26.244] at com.opensymphony.xwork.DefaultActionInvocation.init(DefaultActionInvocation.java:322) [14:30:26.244] at com.opensymphony.xwork.DefaultActionInvocation.<init>(DefaultActionInvocation.java:71) [14:30:26.244] at com.opensymphony.xwork.DefaultActionInvocation.<init>(DefaultActionInvocation.java:64) [14:30:26.244] at com.opensymphony.xwork.DefaultActionProxyFactory.createActionInvocation(DefaultActionProxyFactory.java:28) [14:30:26.244] at com.opensymphony.xwork.DefaultActionProxy.prepare(DefaultActionProxy.java:148) [14:30:26.244] at com.opensymphony.xwork.DefaultActionProxy.<init>(DefaultActionProxy.java:78) [14:30:26.244] at com.opensymphony.xwork.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:46) [14:30:26.244] at com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(DispatcherUtils.java:216) [14:30:26.244] ... 23 more [14:30:26.244] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'classStuRealExtractService' defined in file [/opt/resin/webapps/lylearnnet/WEB-INF/classes/spring/applicationContext-dataExtract.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.ambow.upgrade.extraction.service.impl.ClassStuRealExtractServiceImpl]: Constructor threw exception; nested exception is java.lang.UnsupportedClassVersionError: com/ambow/upgrade/extraction/dao/ClassStuRealExtractDAO : unsupported classversion 50.0 [14:30:26.244] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:451) [14:30:26.244] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:270) [14:30:26.244] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160) [14:30:26.244] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByName(AbstractAutowireCapableBeanFactory.java:881) [14:30:26.244] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:829) [14:30:26.244] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireBeanProperties(AbstractAutowireCapableBeanFactory.java:276) [14:30:26.244] at com.opensymphony.xwork.spring.SpringObjectFactory.autoWireBean(SpringObjectFactory.java:153) [14:30:26.244] at com.opensymphony.xwork.spring.SpringObjectFactory.buildBean(SpringObjectFactory.java:140) [14:30:26.244] at com.opensymphony.xwork.spring.SpringObjectFactory.buildBean(SpringObjectFactory.java:117) [14:30:26.244] at com.opensymphony.xwork.ObjectFactory.buildAction(ObjectFactory.java:101) [14:30:26.244] at com.opensymphony.xwork.DefaultActionInvocation.createAction(DefaultActionInvocation.java:224) [14:30:26.244] ... 31 more [14:30:26.244] Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.ambow.upgrade.extraction.service.impl.ClassStuRealExtractServiceImpl]: Constructor threw exception; nested exception is java.lang.UnsupportedClassVersionError: com/ambow/upgrade/extraction/dao/ClassStuRealExtractDAO : unsupported classversion 50.0 [14:30:26.244] at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100) [14:30:26.244] at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61) [14:30:26.244] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:759) [14:30:26.244] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:724) [14:30:26.244] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:387) [14:30:26.244] ... 41 more [14:30:26.244] Caused by: java.lang.UnsupportedClassVersionError: com/ambow/upgrade/extraction/dao/ClassStuRealExtractDAO : unsupported classversion 50.0 [14:30:26.244] at java.lang.ClassLoader.defineClass1(Native Method) [14:30:26.244] at java.lang.ClassLoader.defineClass(ClassLoader.java:620) [14:30:26.244] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) [14:30:26.244] at com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1329) [14:30:26.244] at com.caucho.loader.DynamicClassLoader.findClass(DynamicClassLoader.java:1199) [14:30:26.244] at com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1119) [14:30:26.244] at com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1068) [14:30:26.244] at com.ambow.upgrade.extraction.service.impl.ClassStuRealExtractServiceImpl.<init>(ClassStuRealExtractServiceImpl.java:32) [14:30:26.244] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [14:30:26.244] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [14:30:26.244] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [14:30:26.244] at java.lang.reflect.Constructor.newInstance(Constructor.java:494) [14:30:26.244] at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:85) [14:30:26.244] at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61) [14:30:26.244] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:759) [14:30:26.244] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:724) [14:30:26.244] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:387) [14:30:26.244] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:270) [14:30:26.244] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160) [14:30:26.244] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByName(AbstractAutowireCapableBeanFactory.java:881) [14:30:26.244] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:829) [14:30:26.244] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireBeanProperties(AbstractAutowireCapableBeanFactory.java:277) [14:30:26.244] at com.opensymphony.xwork.spring.SpringObjectFactory.autoWireBean(SpringObjectFactory.java:153) [14:30:26.244] at com.opensymphony.xwork.spring.SpringObjectFactory.buildBean(SpringObjectFactory.java:140) [14:30:26.244] at com.opensymphony.xwork.spring.SpringObjectFactory.buildBean(SpringObjectFactory.java:117) [14:30:26.244] at com.opensymphony.xwork.ObjectFactory.buildAction(ObjectFactory.java:101) [14:30:26.244] at com.opensymphony.xwork.DefaultActionInvocation.createAction(DefaultActionInvocation.java:224) [14:30:26.244] at com.opensymphony.xwork.DefaultActionInvocation.init(DefaultActionInvocation.java:324) [14:30:26.244] at com.opensymphony.xwork.DefaultActionInvocation.<init>(DefaultActionInvocation.java:72) [14:30:26.244] at com.opensymphony.xwork.DefaultActionInvocation.<init>(DefaultActionInvocation.java:65) [14:30:26.244] at com.opensymphony.xwork.DefaultActionProxyFactory.createActionInvocation(DefaultActionProxyFactory.java:28) [14:30:26.244] at com.opensymphony.xwork.DefaultActionProxy.prepare(DefaultActionProxy.java:148) [14:30:26.244] at com.opensymphony.xwork.DefaultActionProxy.<init>(DefaultActionProxy.java:79) [14:30:26.244] at com.opensymphony.xwork.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:46) [14:30:26.244] at com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(DispatcherUtils.java:216) [14:30:26.244] at com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:202) [14:30:26.244] at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:74) [14:30:26.244] at com.ambow.core.web.filter.FilterLogin.doFilter(FilterLogin.java:62) [14:30:26.244] at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:74) [14:30:26.244] at com.ambow.core.web.filter.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:238) [14:30:26.244] at com.ambow.sso.client.filter.SsoFilter.doFilter(SsoFilter.java:99) [14:30:26.244] at com.ambow.core.web.filter.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:250) [14:30:26.244] at com.ambow.core.web.filter.FilterChainProxy.doFilter(FilterChainProxy.java:130) [14:30:26.244] at com.ambow.core.web.filter.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:74) [14:30:26.244] at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:74) [14:30:26.244] at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198) [14:30:26.244] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75) [14:30:26.244] at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:74) [14:30:26.244] at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:97) [14:30:26.244] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75) [14:30:26.244] at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:74) [14:30:26.244] at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:175) [14:30:26.244] at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:241) [14:30:26.244] ... 5 more
应用部署在resin中;上传我本地的某个class文件后,访问action时抛出如上异常;java -version,发现linux下的jdk版本是1.5,而我本地是1.6的。更换编译器为1.5,重新上传编译后的class文件,即可。
参见:
Eclipse @override报错解决
http://justdo2008.iteye.com/blog/433579
发表评论
-
java.net.SocketException: Unexpected end of file from server
2014-06-27 10:55 7333引用 Caused by: org.springframewo ... -
Hadoop 异常 总结
2013-01-08 10:35 1184Directory /tmp/hadoop-lee/ ... -
MockHttpServletRequest + Controller @RequestMapping 单元测试之 NullPointerException
2012-11-27 17:51 2225MockHttpServletRequest 测试spring ... -
Spring+BoneCP+MyBatis: maxConnectionsPerPartition为1导致的junit一直停留在获取conn阶段的问题
2012-10-20 00:11 3122Spring+BoneCP+MyBatis下, 如果appli ... -
Maven:No goals have been specified for this build
2012-09-25 10:54 1822执行 mvn 命令时,指定goals避免该错误。 http: ... -
ORA-01795: 列表中的最大表达式数为 1000
2011-06-27 10:55 4301Oracle 报错 : ORA-01795: 列表中的最大表达 ... -
Hibernate : addJoin时报错: QueryException: could not resolve property
2011-05-25 10:29 2121对象A和B,都是被hibernate管理的PO。 A中有对B的 ... -
jquery报错: '$.DATA(...).SETTINGS' 为空或不是对象
2011-05-10 21:45 2605How to perform function after J ... -
java 报错: java.util.NoSuchElementException
2011-05-08 20:19 5162出错的代码:Iterator<File> iter ... -
myeclipse报错: Unable to install breakpoint in ...
2011-05-04 02:44 2259http://solveme.wordpress.com/20 ... -
ORA-12514: TNS: 监听程序当前无法识别连接描述符中请求的服务
2011-05-02 16:29 1543ORA-12514: TNS: 监听程序当前无法识别连接描述符 ... -
struts2报错:Could not resolve matching constructor 与 通过form提交的方式向后台传数组
2011-01-15 01:36 3131后台Action中有String数组expPros:priva ... -
Oracle exp 报错:PLS-00302: component 'SET_NO_OUTLINES' must be declared
2010-12-30 22:05 5042EXP-00056: 遇到 ORACLE 错误 6550 OR ... -
IE下cloneNode(true)一个TR取其.cells[index]报 'cells.[index].firstChild'为空或不是对象
2010-11-25 17:12 2794下列js代码,报“'cells.4.firstChild'为空 ... -
Attribute "short-circuit" must be declared for element type "validator".
2010-10-15 13:24 3322使用struts2验证是报错: 引用Attribute &qu ... -
ora-08002:sequence <SEQ_NAME>.currval is not yet defined in this session
2010-09-10 13:51 2357ORA-08002 sequence string.CURRV ... -
javax.naming.NameNotFoundException: Name jdbc is not bound in this Context
2010-07-28 12:16 5193javax.naming.NameNotFoundExcept ... -
struts2 标签 s:iterator 和 s:param 不可以结合使用
2010-04-14 20:53 1546用以下方法结合使用: <s:iterator val ... -
不要在ibatis Map文件的sql中写分号!
2010-03-30 08:10 2083碰到一个奇怪的问题,断点跟踪到getSqlMapClientT ... -
eclipse + tomcat 开发问题
2010-02-09 14:40 2869对eclipse中tomcat做clean时报: resour ...
相关推荐
### java.lang.UnsupportedClassVersionError问题的解决方法 在开发Java应用程序的过程中,经常会遇到与JDK版本不兼容的问题,其中一种常见的异常就是`java.lang.UnsupportedClassVersionError`。该错误通常发生在...
这种错误通常发生在编译器版本与实际使用的JVM版本不匹配的情况下,比如使用了较新的Java编译器生成的`.class`文件在较旧的JVM上运行时就会触发此类异常。 #### 二、错误原因分析 该错误的主要原因是由于MyEclipse...
该错误通常发生在类文件版本与JVM(Java虚拟机)版本不匹配的情况下。本文将详细介绍该错误产生的原因、如何诊断问题以及具体的解决策略。 #### 一、问题背景 当出现`java.lang.UnsupportedClassVersionError`错误...
Weblogic 安装步骤以及报错解决 Weblogic 是一款功能强大且流行的中间件,广泛应用于企业级应用系统中。但是,安装 Weblogic 可能会遇到各种问题,本文将提供详细的安装步骤和报错解决方案,以帮助用户顺利安装和...
UnsupportedClassVersionError如何解决.md
UnsupportedClassVersionError解决办法.md
### Java编译错误 - UnsupportedClassVersionError 解析 #### 标题解读 “Java编译错误 - UnsupportedClassVersionError”这一标题明确指出了解决的问题核心是Java中的`UnsupportedClassVersionError`异常。这是一...
### Eclipse 开发工具的使用技巧 #### 一、Eclipse 概述 1. **Eclipse 的起源**:Eclipse 是由 IBM 开发的一款开源集成开发环境(IDE),专为 Java 开发人员设计。它拥有丰富的插件生态系统,能够极大地扩展其功能...
UnsupportedClassVersionError(解决方案).md
在软件开发领域,Eclipse是一款广泛使用的集成开发环境(IDE),尤其在Java开发中占据了重要的地位。本篇文章将深入探讨Eclipse的使用,包括Java项目开发流程、快捷键以及Junit单元测试工具的运用。 首先,创建一个...
### Java程序调试与错误收集——非代码引起的报错 在Java开发过程中,除了代码本身的错误之外,还有许多非代码因素可能会导致程序运行时出现问题。本文将深入探讨这些非代码因素引发的问题及其解决方法,帮助Java...
4. **集成开发环境(IDE)**:推荐使用Eclipse或IntelliJ IDEA等Java开发工具,便于代码管理和调试。 接下来是Jeecms的安装步骤: 1. **解压Jeecms源码**:下载并解压`jeecms-3.0.4-final-src.zip`,这将包含整个...
### Java JDK 安装与Eclipse集成指南 #### 一、前言 本文档旨在指导初学者如何正确安装Java Development Kit (JDK)并配置Eclipse集成开发环境(IDE),以便进行Java应用开发。JDK是Java编程语言的基础工具包,而...
在本文中,我们将探讨如何在早期的JDK版本,如JDK 1.4中使用这些特性,以便开发人员可以在不升级JVM的情况下利用Java 5的优势。 首先,泛型允许开发者在代码中指定类型的约束,提高类型安全性和可读性。尽管泛型在...
项目中碰到的,记录一下