游戏运行错误standard exception thrown b

Java开发问题:tomcat7.0+jdk8+springmvc。服务器启动正常,部署项目时报错。错误如下:_百度知道
Java开发问题:tomcat7.0+jdk8+springmvc。服务器启动正常,部署项目时报错。错误如下:
严重: Context initialization failed
java.lang.IllegalArgumentException
at org.springframework.asm.ClassReader.&init&(Unknown Source)
at org.springframework.asm.ClassReader.&init&(Unknown Source)
一月 28, 2015...
我有更好的答案
你的全部异常只有这些吗?这里报的都是org类的错误,看不到你的代码的异常,没法分析。
采纳率:67%
来自团队:
spring版本过低 试试4.0
想问下,这个问题您时怎么解觉得?我也遇到了这个问题,是和spring版本有关吗?我遇到的问题时:在dao层加@repository 注解就会发生错误,没有的话就不会出错
为您推荐:
其他类似问题
tomcat7的相关知识
换一换
回答问题,赢新手礼包
个人、企业类
违法有害信息,请在下方选择后提交
色情、暴力
我们会通过消息、邮箱等方式尽快将举报结果通知您。电脑安装软件,无法打开,弹出提示框Exception has been thrown by the target of an invocation.求助!_百度知道
电脑安装软件,无法打开,弹出提示框Exception has been thrown by the target of an invocation.求助!
在其他电脑上正常安装可以打开
我有更好的答案求助知道网友
“异常已被调用的目标投掷。
玩游戏时缺少游戏的运行环境或组件时,经常会出现这个提示!你安装Microsoft .NET Framework 3.5, 安装Microsoft Visual C++ 2008,再试一试!
本回答被网友采纳
先装这个软件试下dotNetFx40_Full_x86_x64
2条折叠回答
为您推荐:
其他类似问题
inv的相关知识
换一换
回答问题,赢新手礼包
个人、企业类
违法有害信息,请在下方选择后提交
色情、暴力
我们会通过消息、邮箱等方式尽快将举报结果通知您。每一天都记录一点 每一天都会有一点收获
spring3和mybatis3整合 配置事物管理抛异常
警告: Exception thrown from ApplicationListener handling ContextClosedEvent
java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: Root WebApplicationContext: startup date [Tue Jan 13 11:23:42 CST 2015]; root of context hierarchy
at org.springframework.context.support.AbstractApplicationContext.getApplicationEventMulticaster(AbstractApplicationContext.java:347)
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:334)
at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1049)
at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:1010)
at org.springframework.web.context.ContextLoader.closeWebApplicationContext(ContextLoader.java:559)
at org.springframework.web.context.ContextLoaderListener.contextDestroyed(ContextLoaderListener.java:143)
at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4831)
at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5478)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:160)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1100)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1618)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
一月 13, :43 上午 org.springframework.context.support.AbstractApplicationContext doClose
警告: Exception thrown from LifecycleProcessor on context close
java.lang.IllegalStateException: LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context: Root WebApplicationContext: startup date [Tue Jan 13 11:23:42 CST 2015]; root of context hierarchy
at org.springframework.context.support.AbstractApplicationContext.getLifecycleProcessor(AbstractApplicationContext.java:360)
at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1057)
at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:1010)
at org.springframework.web.context.ContextLoader.closeWebApplicationContext(ContextLoader.java:559)
at org.springframework.web.context.ContextLoaderListener.contextDestroyed(ContextLoaderListener.java:143)
at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4831)
at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5478)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:160)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1100)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1618)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
一月 13, :43 上午 org.apache.catalina.core.StandardContext listenerStop
严重: Exception sending context destroyed event to listener instance of class org.springframework.web.context.ContextLoaderListener
java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
at org.springframework.context.support.AbstractRefreshableApplicationContext.getBeanFactory(AbstractRefreshableApplicationContext.java:171)
at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:1090)
at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1064)
at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:1010)
at org.springframework.web.context.ContextLoader.closeWebApplicationContext(ContextLoader.java:559)
at org.springframework.web.context.ContextLoaderListener.contextDestroyed(ContextLoaderListener.java:143)
at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4831)
at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5478)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:160)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1100)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1618)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
配置文件:
&!-- 配置数据源 --&
&bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close"&
&property name="driverClassName" value="${driver}"/&
&property name="url" value="${url}"/&
&property name="username" value="${user}"/&
&property name="password" value="${password}"/&
&!-- MyBatis sqlSessionFactory 配置 mybatis,映射dao层实现 --&
&bean id="sqlSessionFactory" class="org.mybatis.spring.SqlSessionFactoryBean"&
&property name="dataSource" ref="dataSource" /&
&!-- &property name="configLocation" value="classpath:mybatis-configuration.xml"/& --&
&property name="mapperLocations"&
&value&classpath*:com/example/**/dao/impl/*.xml&/value&
&/property&
&!-- 可通过注解控制事务 抛异常 java.lang.IllegalStateException: ApplicationEventMulticaster not initialized--&
&tx:annotation-driven transaction-manager="txManager"/&
&!--事务相关控制 --&
&bean id="txManager" class="org.springframework.jdbc.datasource.DataSourceTransactionManager"&
&property name="dataSource" ref="dataSource"/&
如上异常:加入aopalliance-1.0.jar 可解决
没有更多推荐了,Spring, EJB's declarative transaction by default, throw an unchecked exception are only triggered after the transaction rollback Test business logic methods: /** * If you do not spring transaction configuration as a starting point, such as the starti
Projects using the Spring Quartz, state the following schedule: &beans default-autowire=&byName&& ... &bean& &property name=&schedulerName&& &value&quartz_backend&/value& &/property& &property nam
javax.servlet.jsp.JspException: Exception thrown by getter for property booktype.name of bean bookinfo at org.apache.struts.taglib.TagUtils.lookup (TagUtils.java: 897) at org.apache.struts.taglib.bean.WriteTag.doStartTag (WriteTag.java: 233) at org.a
Environment JDK15 WAS6.1.0.21 Cause and effect Ws server development using CXF2.2.3 posted on WAS6.1.0.21. Specific error message [09-11-3 14:34:59:238 CST]
ServletWrappe E SRVE0068E: capture servlet CXFServlet not a service method which thr
With J2SE, and Android, are running the same TimerTask, the performance of 1. Java code import java.util.T import java.util.TimerT public class ddd { public static void main(String[] args) throws Exception { Timer timer = new Timer(); timer.
I use flex4 + cairgorm3. flex java client-side need to catch exceptions thrown, before the practice is: &fx:Declarations& &rule:AddUserCommand/& &/ fx: Declarations& In AddRuleCommand.as, the definition of the following methods: [Command
I use spring jms activemq and the combination is defined in the configuration file common connectionFactory the bean, as follows: &bean& &description&JMS Connection factory &/description& &property name=&brokerURL& value=&qu
SSH is often thrown in as an exception Exception thrown: java.lang.IllegalStateException: No Hibernate Session bound to thread, and configuration does not allow creation of non-transactional one here Solution is as follows: Mostly because the persist
[Quote] http://onjava.com/lpt/a/6415 [/ quote] &! - ISI_LISTEN_START --&&!-- This article is brought to you by Oreilly Net, your source for all Java news. --&&!-- CS_PAGE_BREAK -& An Exception Handling Framework for J2EE Applications by
1, partial object clean-up. #include &iostream& class A { public: A(){ cout&&&A()&&& } ~A(){ cout&&&~A()&&& } }; void func() { A cout&&&throw int exception.&quo
A few days ago, a friend asked me why. NET in not capture (catch) to some unusual, and it also captured in the debugger can not. Studied it is. NET 4.0 exception handling mechanism in the new trace of the ghost. In. NET 4.0 after, CLR will distinguis
Arithmetic exception classes: ArithmeticExecption Null pointer exception class: NullPointerException Type cast exception: ClassCastException Array of negative subscript Exception: NegativeArrayException Subscript array bounds exception: ArrayIndexOut
Exception handling six kinds of bad habits Do you think he is a Java specialists? Is it a must that he has complete control of the Java exception handling mechanism? In the following code, you can quickly identify the exception handling of the six qu
Exception handling is a very important program design aspect of the program design is a major difficulty, starting from the C, you may already know how to use if ... else ... to control abnormal, and may be spontaneous, but this kinds of abnormal pai
Original: http://www.onjava.com/pub/a/onjava//exceptions.html Author: Gunjan Doshi
Translator's Note: This article be a study notes for reference only learn to use, something wrong, please also indicate.
&This is the E
June 24, 2009 Wednesday, 9:16 PM Should first exception thrown to: Hibernate: select sum (num) from (select count (*) as num from cm_facility_wrong as fw left outer join cm_conf as cf on fw.faw_room_id = cf.conf_id left outer join cm_facility as f on
Transfer from http://www.bitscn.com/java/xmlbeans/914_4.html 1, unusual concepts and architecture of Java exceptions Exception is a procedural error during the operation. This article teaches the Java language exception handling. Java langu
How to use the principle of exception Author: Bill Venners with, chenkw Abstract This article is a translation of design technology column to discuss the unusual design problems. This concern about when to use exceptions, and examples demonstrate the
When a program can not control the external environment (user provided file does not exist, the document is damaged, the network is not available ...) is, JAVA will be used to describe the exception object. JAVA approach using two kinds of exceptions
1. The concept of abnormal Java exception is provided by the Java program for handling errors in a mechanism. The so-called error is defined as the process of running a number of unusual events occurred (for example: In addition to 0 overflow, array
The bad habits of the six exception handling Do you think you are a Java expert? Sure that that they have complete control of the Java exception handling mechanism? In the following code, you can quickly identify the exception handling of the six que
1, standard and custom exception class exception #include &iostream& #include &stdexcept& class MyError:public logic_error { public: MyError(const string& str):logic_error(str){} }; void func1() { throw runtime_error(&
The bad habits of the six exception handling Do you think you are a Java expert? Sure that that they have complete control of the Java exception handling mechanism? In the following code, you can quickly identify the exception handling of the six que
The bad habits of the six exception handling Do you think you are a Java expert? Sure that that they have complete control of the Java exception handling mechanism? In the following code, you can quickly identify the exception handling of the six que
ArrayStoreException: attempt to store the wrong type of object to an array of objects when thrown. BufferOverflowException: when the put operation to achieve objectives related to the buffer limit, throw the unchecked exception. BufferUnderflowExcept
(Edit) Exception class can be divided into two types: run-time exception and by abnormalities. 1, run-time exception Java provides two main exceptions: runtime exception and checked exception. checked different Often is, we often encounter the IO exc
&This is an Exception handling good article, the concept of introduction from the Java Exception, the order to explain the Exception of type (Checked / Unchecked), Exception handling best to achieve: 1. Select Checked or Unchecked basis of several cl
1. What is &abnormal& Controllable factors outside programmers, resulting in procedures may be wrong. For example, we create a file, even if the file to create the correct format, but we can not know whether the incoming file path exists, this i
1 unusual advantages without exception, in the process, should check the success or failure of each command, such as BEGIN SELECT ... - Check for 'no data found' error SELECT ... - Check for 'no data found' error SELECT ... - Check for 'no data found
The following exceptions: &Jul 27, :51 AM CST& &Critical& &EmbeddedLDAP& &BEA-171522& &An error occurred while initializing the Embedded LDAP Server. The exception thrown is java.lang.ClassCastException: com.octetstrin
Fourth, how to define and use the exception classes 1, using the existing exception classes, if the IOException, SQLException. try ( Code ) Catch (IOException ioe) ( Code ) Catch (SQLException sqle) ( Code ) Finally ( Code ) 2, create a custom except
The bad habits of the six exception handling Do you think you are a Java expert? Sure that that they have complete control of the Java exception handling mechanism? In the following code, you can quickly identify the exception handling of the six que
The bad habits of the six exception handling Do you think you are a Java expert? Sure that that they have complete control of the Java exception handling mechanism? In the following code, you can quickly identify the exception handling of the six que
Exception handling is a programming in a very important aspect of program design is a major difficulty, starting from C, you may already know how to use the if ... else ... to control abnormal, and may be spontaneous, but this kinds of abnormal pain
1. Java exception mechanism in the system of succession plan are as follows: 2. JAVA exception can be divided into three kinds: (1) compile-time exception: java.lang.Exception (2) runtime exception: java.lang.RuntimeException (3) Error: java.lang.Err
java exception in the exception mechanism is in the process occurred during the operation of disorders such as arithmetic exceptions in addition to 0, the array bounds, null pointer exception and so on, these anomalies to prevent the program running.
1. After only exception is the method of implementation of the thrown, with the return similar results, from this perspective should not be a part of the method signature. We know that, if based on different return type to distinguish the signature C
In Java, if a method may throw examination abnormalities (such as opening a file), then the Java compiler will force the definition must be declared when the method throws the exception Huozhe the exception of the parent class exception, or can not c
Reprinted from: http://www.blogjava.net/freeman1984/archive//148850.html Do you think you are a Java expert? Sure that that they have complete control of the Java exception handling mechanism? In the following code, you can quickly identify
Today, when a retrospective glance java heavy exceptions, some forgotten, so opened the book and re-read re-read. /** * Exception restrictions * Method overloading, the child class method can only throw exceptions in the parent class method interface
Concept of abnormality of any of the exceptions are Throwable class, and it contains two sub-categories under the Error / Exception, Er Error only in the Java Virtual Machine as occurred in the dynamic link failure or other failure to locate the time
http://www.flash-home.com/article/1116.html question I want to process their experience of the exception detection and handling. Solution to detect errors when using the throw statement throws an exception. The possible error of code into try block,
Java provides two main types of exceptions: runtime exception and checked exception. All checked exception is derived from the java.lang.Exception class, while the runtime exception is the class derived from java.lang.RuntimeException or java.lang.Er
The bad habits of the six exception handling Do you think you are a Java expert? Sure that they have complete control of the Java exception handling mechanism? In the code below, you can quickly find out the exception handling of the six questions? O
First look at a piece of code: public class TCFtest { public TCFtest() { } @SuppressWarnings(&finally&) boolean testEx() throws Exception { boolean ret = try { ret = testEx1(); } catch (Exception e) { System.out.println(&testEx, catch
WCF call in case of abnormal synchronization and exception caught 1 Introduction Basic information on WCF, I am not here described. One reason many people in the garden introduced, and it was very detailed, and then not, you can also read. Second is
1. Crawl exception: try: Possible exception in except XXXError: Treatment except XXXException: Treatment except: (or else:) 2. Custom exception class class class name (Exception) Operation What is that to raise XXXException what does not handle excep
Why talk about exceptions in J2EE project, deal with it? Many java beginners may want to say: &Exception handling not that try .... Catch ... finally it? Anybody ah!.& When the author is also a beginner java think so. How a multi-j2ee project th
Liferay Portal installed in WAS after the next start when the following exception: [10-11-18 15:25:05:171 CST] 0000000a SystemOut O 15:25:05,171 ERROR [MainServlet:162] com.liferay.portal.kernel.events.ActionException: com.liferay.portal.verify.Verif
Constructor and destructor, respectively, the establishment and release management object, the object responsible for the birth and death process. When an object is born, the constructor is responsible for creating and initializing the object's inter
Copyright (C) , All Rights Reserved.
版权所有 闽ICP备号
processed in 0.085 (s). 11 q(s)}

我要回帖

更多关于 java exception 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信