我and others正在對AS 6.問題上AS 6
問題運行麻煩階運行Scala是防止部署(堆棧跟蹤下)一個IllegalArgumentException異常。
我試圖運行由sacalate maven原型(scalate-archetype-empty)和我的其他項目生成的項目,所有這些都帶有相同的問題。
有沒有已知的解決方法呢?
08:41:21,200 ERROR [AbstractKernelController] Error installing to PostClassLoader: name=vfs:///home/jfaerman/dev/jboss-6.0.0.Final/server/default/deploy/scalearn.war state=ClassLoader mode=Manual requiredState=PostClassLoader: org.jboss.deployers.spi.DeploymentException: Error during deploy: vfs:///home/jfaerman/dev/jboss-6.0.0.Final/server/default/deploy/scalearn.war
at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49) [:2.2.0.GA]
(ommited long trace)
Caused by: java.lang.Error: Error visiting "/home/jfaerman/dev/jboss-6.0.0.Final/server/default/deploy/scalearn.war/WEB-INF/lib/scala-compiler-2.8.0.jar/scala/tools/nsc/typechecker/NamesDefaults$$anonfun$9.class"
at org.jboss.classloading.plugins.vfs.VFSResourceVisitor.visit(VFSResourceVisitor.java:268) [jboss-classloading-vfs.jar:2.2.0.GA
... 43 more
Caused by: java.lang.RuntimeException: Error visiting resource: VFSResourceContext @ scala/tools/nsc/typechecker/NamesDefaults$$anonfun$9.class/[email protected]{vfs:///home/jfaerman/dev/jboss-6.0.0.Final/server/default/deploy/scalearn.war}, visitor: [email protected]3f4ddd67
at org.jboss.scanning.plugins.visitor.IgnoreSetErrorHandler.handleError(IgnoreSetErrorHandler.java:56) [:1.0.0.GA]
Caused by: java.lang.IllegalArgumentException: Null type
at org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactoryImpl.getTypeInfo(IntrospectionTypeInfoFactoryImpl.java:354) [jboss-reflect.jar:2.2.0.GA]
Scala和Java版本? – pedrofurla 2011-06-16 13:47:48
Java是Sun JDK 1.6。斯卡拉我已經嘗試了2.9.0-1和2.8.1,都導致了相同的例外,只有掃描類不同。 – 2011-06-16 20:21:45
只是注意到:scala-compiler-2.8.0.jar。你需要將編譯器與應用程序一起部署嗎?那麼,至少它可能是你嘗試的東西...... – pedrofurla 2011-06-16 21:27:21