1
運行grails應用程序時,出現「java.lang.RuntimeException:通過異常退出的重裝代理」錯誤。以前它工作正常。突然間我收到這個錯誤。我無法運行應用程序。grails 2.4.0 - java.lang.RuntimeException:通過異常退出的重裝代理
完整堆棧跟蹤如下
|Loading Grails 2.4.0
|Configuring classpath
.
|Environment set to development
.................................
|Packaging Grails application
..
|Compiling 10 source files
Error |
java.lang.RuntimeException: Reloading agent exited via exception, please raise a jira
Error |
at org.springsource.loaded.agent.ClassPreProcessorAgentAdapter.transform(ClassPreProcessorAgentAdapter.java:104)
Error |
at sun.instrument.TransformerManager.transform(TransformerManager.java:188)
Error |
at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:424)
Error |
at java.lang.ClassLoader.defineClass1(Native Method)
Error |
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
Error |
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
Error |
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
Error |
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
Error |
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
Error |
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
Error |
at java.security.AccessController.doPrivileged(Native Method)
Error |
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
Error |
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
Error |
at groovy.lang.GroovyClassLoader.loadClass(GroovyClassLoader.java:655)
Error |
at groovy.lang.GroovyClassLoader.loadClass(GroovyClassLoader.java:523)
Error |
at org.codehaus.groovy.control.ClassNodeResolver.tryAsLoaderClassOrScript(ClassNodeResolver.java:183)
Error |
at org.codehaus.groovy.control.ClassNodeResolver.findClassNode(ClassNodeResolver.java:168)
Error |
at org.codehaus.groovy.control.ClassNodeResolver.resolveName(ClassNodeResolver.java:124)
Error |
at org.codehaus.groovy.control.ResolveVisitor.resolveToOuter(ResolveVisitor.java:617)
Error |
at org.codehaus.groovy.control.ResolveVisitor.resolve(ResolveVisitor.java:269)
Error |
at org.codehaus.groovy.control.ResolveVisitor.resolveFromModule(ResolveVisitor.java:551)
Error |
at org.codehaus.groovy.control.ResolveVisitor.resolve(ResolveVisitor.java:269)
Error |
at org.codehaus.groovy.control.ResolveVisitor.resolve(ResolveVisitor.java:237)
Error |
at org.codehaus.groovy.control.ResolveVisitor.resolveOrFail(ResolveVisitor.java:221)
Error |
at org.codehaus.groovy.control.ResolveVisitor.resolveOrFail(ResolveVisitor.java:233)
Error |
at org.codehaus.groovy.control.ResolveVisitor.transformConstructorCallExpression(ResolveVisitor.java:988)
Error |
at org.codehaus.groovy.control.ResolveVisitor.transform(ResolveVisitor.java:647)
Error |
at org.codehaus.groovy.control.ResolveVisitor.transformBinaryExpression(ResolveVisitor.java:956)
Error |
at org.codehaus.groovy.control.ResolveVisitor.transform(ResolveVisitor.java:641)
Error |
at org.codehaus.groovy.ast.ClassCodeExpressionTransformer.visitExpressionStatement(ClassCodeExpressionTransformer.java:139)
Error |
at org.codehaus.groovy.ast.stmt.ExpressionStatement.visit(ExpressionStatement.java:40)
Error |
at org.codehaus.groovy.ast.CodeVisitorSupport.visitBlockStatement(CodeVisitorSupport.java:35)
Error |
at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitBlockStatement(ClassCodeVisitorSupport.java:163)
Error |
at org.codehaus.groovy.control.ResolveVisitor.visitBlockStatement(ResolveVisitor.java:1259)
Error |
at org.codehaus.groovy.ast.stmt.BlockStatement.visit(BlockStatement.java:69)
這已經在JIRA中,同時嘗試清理並運行應用程序。 – Thihara
我已經嘗試過乾淨清潔的所有選項。但仍然錯誤。 –
嘗試手動刪除所有/ target和/ target-eclipse並構建它。如果它不會幫助嘗試刪除項目並將其從存儲庫中克隆出來。不要忘記重啓! –