草庐IT

INSTRUMENTATION_FAILED

全部标签

javax.naming.NamingException : JBAS011843: Failed instantiate InitialContextFactory org. jnp.interfaces.NamingContextFactory 来自类加载器

大家好,我在Jboss-as-7.1.1中遇到了一些问题。我正确部署但是当我从客户端发送请求时出现错误。我正在使用Jboss-7.1.1,部署文件夹是standalone/deployment(axis2.war,response.war,SpSpecific.ear,responsecomponet.ear)部署日志:-13:00:51,457INFO[org.jboss.modules]JBossModulesversion1.1.1.GA13:00:52,261INFO[org.jboss.msc]JBossMSCversion1.0.2.GA13:00:52,381INFO[o

java - Maven 3 : Failed to execute goal org. apache.maven.plugins :maven-archetype-plugin:2. 2:生成

我正在尝试使用测试ma​​venmvnarchetype:generate-DgroupId=org.sonatype.mavenbook-DartifactId=quickstart-Dversion=1.0-SNAPSHOT-DpackageName=org.sonatype.mavenbook-DarchetypeGroupId=org.apache.maven.archetypes-DarchetypeArtifactId=maven-archetype-quickstart-DarchetypeVersion=1.0-DinteractiveMode=false几分钟后,系统

java - '严重 : SAAJ0009: Message send failed error' while sending a message

Feb8,201111:56:49AMcom.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnectionpostSEVERE:SAAJ0009:Messagesendfailedcom.sun.xml.internal.messaging.saaj.SOAPExceptionImpl:java.security.PrivilegedActionException:com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl:Messagesendfailedatcom.sun.

java - 使用 Instrumentation 记录未处理的异常

我正在尝试使用检测来调试Java应用程序。当前系统的问题是几乎没有写过任何日志语句异常处理不佳这使得追踪功能损坏的根本原因变得非常困难。为了处理这种情况,我开发了工具,使用InstrumentationAPI的java代理,我能够注入(inject)日志语句并解决了一半的问题。但下一个问题是记录异常。我想扩展我的工具记录应用程序执行期间抛出的每个异常。我尝试使用javaassistAPI为方法注入(inject)“try-catch”block(使用addCatch、insertBefore和insertAfter),并且在一定程度上是有效的。publicbyte[]transform

java.lang.IllegalStateException : Failed to load property source from location 'classpath:/application.yml' 错误

SpringCloud项目出现以下错误。在这个项目中,除了从GIT读取.properties文件外,我没有做任何特别的事情。请指导此处还有哪些需要更正的地方?java.lang.IllegalStateException:Failedtoloadpropertysourcefromlocation'classpath:/application.yml'atorg.springframework.boot.context.config.ConfigFileApplicationListener$Loader.load(ConfigFileApplicationListener.java:

java - : "jarsigner: attempt to rename {file} to {file}.org failed" when signing jars with ant?失败是什么原因

我收到错误:[signjar]jarsigner:attempttorenameC:\workspace\line_editor\lib\icon.jartoC:\workspace\line_editor\lib\icon.jar.origfailed尝试在Eclipse中使用ant对一组jar进行自签名时。antbuild在这个项目中运行良好,在其他项目中也有类似的代码。我对代码做了一些小改动并尝试重建并不断收到此错误。这是相关的Ant目标:我删除了该项目并再次从我们的存储库中将其拉下。因此它与其他项目具有相同的默认项目设置,这部分不会失败。我查看了有问题的.jar,它不是只读的。

java - Spring 批处理 : scope ("step") failed

我可以在xml配置中使用scope="step"没有任何问题,但如果将它用作注释如下.它抛出以下错误Causedby:org.springframework.beans.factory.UnsatisfiedDependencyException:Errorcreatingbeanwithname'step1'definedinclasspathresource[BatchConfiguration.class]:Unsatisfieddependencyexpressedthroughconstructorargumentwithindex1oftype[org.springfram

java - Vaadin 7.1.1 : Failed to load the widgetset

我在运行最新的Vaadin7.1.1应用程序时遇到问题。这主要是因为我找不到该版本的文档。Maven原型(prototype)创建扩展Root的旧式应用程序。Root消失了,所以我正在尝试扩展UI,就像他们在BookofVaadin中所做的那样。web.xml:myservletcom.vaadin.server.VaadinServletUIcz.simplecoin.simplegui.MainScreen和MainScreen只是:publicclassMainScreenextendsUI{项目编译(使用maven)正确。当我调试时,我看到正确调用了MainScreen的ini

java - Apache Derby - java.sql.SQLException : Failed to start database

首先,这是我第一次使用ApacheDerby。我正在使用netbeans,愿意使用嵌入式apachederby,并且我按照以下教程配置和安装数据库。然后,我使用项目属性将derby.jar文件附加到我的项目。http://netbeans.org/kb/docs/ide/java-db.html#starting所附图片将显示我在netbeans中的数据库状态我的数据库名称是“联系人”。表名为“FRIENDS”。以下是我的测试代码**DatabaseConnector.java**importjava.sql.*;publicclassDataBaseConnector{private

java - hibernate 组织. hibernate .LazyInitializationException : failed to lazily initialize a collection of role:

我有下面提到的实体类,当我执行我的应用程序时,出现以下异常。其他一些类似的问题没有解决问题。WARNING:StandardWrapperValve[jersey-serlvet]:PWC1406:Servlet.service()forservletjersey-serlvetthrewexceptionorg.hibernate.LazyInitializationException:failedtolazilyinitializeacollectionofrole:test.entity.Dept.empDeptno,nosessionorsessionwasclosedator