4 Replies Latest reply on Apr 23, 2007 10:19 AM by skomarla

    cant run the first bootstrap line.

    johnmm1997

      If I try to run it on jdk 1.6 i get:
      ERROR 22-04 14:05:08,062 (AbstractController.java:incrementState:456) -Error installing to Instantiated: name=DeploymentFilter state=Described
      java.lang.IllegalStateException: Class not found: [Ljava.lang.String;

      I thought that it's a jdk 1.6 problem, but if i try to run it on jdk 1.5 i get:
      ERROR 22-04 13:54:27,609 (AbstractController.java:incrementState:456) -Error installing to Start: name=ResourcesToDeploy state=Create
      java.lang.NoSuchFieldError: factoryFinder

      Help? :)

        • 1. cant run the first bootstrap line.
          johnmm1997

          Forgot to mention: it's on a standalone application.

          • 2. Re: cant run the first bootstrap line.
            estiedi

            I ran into problems with jdk 1.6 as well.
            You must use jdk 1.5 with JBoss 5!

            You can check compatibility in the wiki version matrix

            • 3. Re: cant run the first bootstrap line.
              johnmm1997

              I thought it's a jdk6 problem, but when i tried in jdk5 i got
              ERROR 23-04 00:20:07,265 (AbstractController.java:incrementState:456) -Error installing to Start: name=ResourcesToDeploy state=Create
              java.lang.NoSuchFieldError: factoryFinder
              at org.jboss.virtual.VFS.init(VFS.java:68)

              and also
              ERROR 23-04 00:20:07,406 (AbstractController.java:incrementState:456) -Error installing to Start: name=ResourcesToDeploy2 state=Create
              java.lang.NoClassDefFoundError at org.jboss.embedded.DeploymentGroup.getDeployerDirUrls(DeploymentGroup.java:532)

              It looks like a wrong/missing lib, but all the jboss-embedded libs are in my classpath..

              • 4. Re: cant run the first bootstrap line.
                skomarla

                You sure you only have the libs from the embedded distro in your classpath? I often find that even if you have everything in the classpath, the other libs might interfere if they have similar classes. Also make sure the embedded jboss libs are the first things in your classpath if you can't remove the other libs (if any conflicts exist)