[jboss-user] [JBoss Seam] - [2.0 beta1]Problem caused by regression between jdk 1.5 and

enzhao do-not-reply at jboss.com
Tue Jun 26 10:19:08 EDT 2007


environment: Seam 2.0 beta1, JBoss 4.2, JDK 1.6 b06 on Windows XP. My project configuration all correctly updated using the Seam-gen came with 2.0 beta1. 

Today when I ran test classes extending SeamTest, there was this exception:

DeploymentFilter -> java.lang.ClassNotFoundException: [Ljava.lang.String;

jboss.kernel:service=Kernel -> **ERROR**
	at org.jboss.embedded.Bootstrap.checkIncomplete(Bootstrap.java:144)
	at org.jboss.embedded.Bootstrap.bootstrapURL(Bootstrap.java:169)
	at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:201)
	at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:214)
	at org.jboss.seam.mock.BaseSeamTest.startJbossEmbeddedIfNecessary(BaseSeamTest.java:919)
	at org.jboss.seam.mock.BaseSeamTest.init(BaseSeamTest.java:856)
	at org.jboss.seam.mock.SeamTest.init(SeamTest.java:42)
... Removed 22 stack frames

I have tried to compile all my own code at the source level 1.5, did not work. And then tried to build the Seam 2.0 beta 1 at source level 1.6. The build was successful but it did not solve the problem, either. Then I googled for this strange exception and got some useful information here:

  https://glassfish.dev.java.net/issues/show_bug.cgi?id=714

Seems it is not a Seam problem but something lies in the jboss-embedded-all.jar. (Which is JBossAS 5.0 project I think). The fix should be easy according to the bug-report I linked above. 

For now I would have to install a jdk 1.5. But I'll try to file a JIRA bug report for JBossAS 5.0.

I hope this info could be helpful to those who are developing on JBoss AS + Seam + JDK 1.6 stack. 


Regards,
Ellen

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4057731#4057731

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4057731



More information about the jboss-user mailing list