3 Replies Latest reply on Feb 7, 2011 1:50 AM by jaikiran

    JBoss 6 final do not find  javax.jms package

    armdev

      Hello, One Big problem with JBoss6 final release,

      If I create Message Driven bean under JBoss 6, NetBeans 7.0 Beta show that he could not find javax.jms.Message

      package....ufffff under glassfish 3.1 all ok. that i can do?

       

      Two years I wait for JBoss 6, now I can not make one EJB3 ->MDB

        • 1. JBoss 6 final do not find  javax.jms package
          nickarls

          Please enlighten us on how your IDE failing to resolve a class has anything to do with AS 6?

          • 2. JBoss 6 final do not find  javax.jms package
            armdev

            jboss.jpg

             

            I use java jdk 1.6.0.16 from sun microsystems,

            added JBoss6 final to the netbeans 7.0 servers list, because netbeans earlier versions could not add Jboss 6,

            all ok, but I created Message Driver bean, and could not build and deploy simple project, but if i change JBoss to Glassfish, it was ok.

            complains that could not find javax.jms... package. I dont know it is JBoss bug, NetBeans bug or JDK bug..... With glassfish no problem, but we prefer JBoss as application server. Please help, Thank you for your answers.

            Best regards,

            • 3. JBoss 6 final do not find  javax.jms package
              jaikiran

              It's just a classpath issue. I don't know how NetBeans sets it up. To fix this error, all you need is the <path to jboss-6.0.Final>/client/jboss-jms-api_1.1_spec.jar in your classpath.