2 Replies Latest reply on Nov 14, 2014 4:16 PM by emre arısoy

    ı cant start helloworld activity

    emre arısoy Newbie

      ı have some eroors like that

       

      Usage SendEsbMessage <category> <name> <text to send>

      Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/soa/esb/message/format/MessageFactory

          at org.jboss.soa.esb.samples.quickstart.helloworld.test.SendEsbMessage.main(SendEsbMessage.java:52)

      Caused by: java.lang.ClassNotFoundException: org.jboss.soa.esb.message.format.MessageFactory

          at java.net.URLClassLoader$1.run(URLClassLoader.java:366)

          at java.net.URLClassLoader$1.run(URLClassLoader.java:355)

          at java.security.AccessController.doPrivileged(Native Method)

          at java.net.URLClassLoader.findClass(URLClassLoader.java:354)

          at java.lang.ClassLoader.loadClass(ClassLoader.java:425)

          at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)

          at java.lang.ClassLoader.loadClass(ClassLoader.java:358)

          ... 1 more

        • 1. Re: ı cant start helloworld activity
          Tom Cunningham Master

          The error is pretty explanatory - it can't find org.jboss.soa.esb.message.format.MessageFactory on the classpath.     Are you running from the quickstarts directory?    Can you show all your steps to reproduce?

          • 2. Re: ı cant start helloworld activity
            emre arısoy Newbie

            first of all ı wanna say thank you

            ı wanna try helloworld example but when ı load on jbossdeveloper studio I take that fault

            I downloaded it from  help->project examples

            and ı see that faults

             

             

             

             

             

             

            Description    Resource    Path    Location    Type

            Build path specifies execution environment J2SE-1.5. There are no JREs installed in the workspace that are strictly compatible with this environment.     helloworld        Build path    JRE System Library Problem

            ConfigTree cannot be resolved to a type    MyJMSListenerAction.java    /helloworld/src/org/jboss/soa/esb/samples/quickstart/helloworld    line 32    Java Problem

            ConfigTree cannot be resolved to a type    MyJMSListenerAction.java    /helloworld/src/org/jboss/soa/esb/samples/quickstart/helloworld    line 32    Java Problem

            Message cannot be resolved to a type    MyJMSListenerAction.java    /helloworld/src/org/jboss/soa/esb/samples/quickstart/helloworld    line 35    Java Problem

            Message cannot be resolved to a type    MyJMSListenerAction.java    /helloworld/src/org/jboss/soa/esb/samples/quickstart/helloworld    line 35    Java Problem

            The import org.jboss.soa.esb.helpers cannot be resolved    MyJMSListenerAction.java    /helloworld/src/org/jboss/soa/esb/samples/quickstart/helloworld    line 24    Java Problem

            The import org.jboss.soa.esb.message cannot be resolved    MyJMSListenerAction.java    /helloworld/src/org/jboss/soa/esb/samples/quickstart/helloworld    line 25    Java Problem

            AbstractActionLifecycle cannot be resolved to a type    MyJMSListenerAction.java    /helloworld/src/org/jboss/soa/esb/samples/quickstart/helloworld    line 27    Java Problem

            Target runtime jboss-soa-p.4.3.0 Runtime is not defined.    helloworld        Unknown    Faceted Project Problem

            ConfigTree cannot be resolved to a type    MyJMSListenerAction.java    /helloworld/src/org/jboss/soa/esb/samples/quickstart/helloworld    line 30    Java Problem

            Build path specifies execution environment J2SE-1.5. There are no JREs installed in the workspace that are strictly compatible with this environment.     helloworld_testclient        Build path    JRE System Library Problem

            The import javax.jms cannot be resolved    SendJMSMessage.java    /helloworld_testclient/src/org/jboss/soa/esb/samples/quickstart/helloworld/test    line 26    Java Problem

            The import javax.jms cannot be resolved    SendJMSMessage.java    /helloworld_testclient/src/org/jboss/soa/esb/samples/quickstart/helloworld/test    line 25    Java Problem

            The import javax.jms cannot be resolved    SendJMSMessage.java    /helloworld_testclient/src/org/jboss/soa/esb/samples/quickstart/helloworld/test    line 28    Java Problem

            The import javax.jms cannot be resolved    SendJMSMessage.java    /helloworld_testclient/src/org/jboss/soa/esb/samples/quickstart/helloworld/test    line 27    Java Problem

            The import javax.jms cannot be resolved    SendJMSMessage.java    /helloworld_testclient/src/org/jboss/soa/esb/samples/quickstart/helloworld/test    line 30    Java Problem

            The import javax.jms cannot be resolved    SendJMSMessage.java    /helloworld_testclient/src/org/jboss/soa/esb/samples/quickstart/helloworld/test    line 29    Java Problem

            QueueConnection cannot be resolved to a type    SendJMSMessage.java    /helloworld_testclient/src/org/jboss/soa/esb/samples/quickstart/helloworld/test    line 37    Java Problem

            The import javax.jms cannot be resolved    SendJMSMessage.java    /helloworld_testclient/src/org/jboss/soa/esb/samples/quickstart/helloworld/test    line 31    Java Problem

            Queue cannot be resolved to a type    SendJMSMessage.java    /helloworld_testclient/src/org/jboss/soa/esb/samples/quickstart/helloworld/test    line 39    Java Problem

            QueueSession cannot be resolved to a type    SendJMSMessage.java    /helloworld_testclient/src/org/jboss/soa/esb/samples/quickstart/helloworld/test    line 38    Java Problem

            QueueConnectionFactory cannot be resolved to a type    SendJMSMessage.java    /helloworld_testclient/src/org/jboss/soa/esb/samples/quickstart/helloworld/test    line 53    Java Problem

            JMSException cannot be resolved to a type    SendJMSMessage.java    /helloworld_testclient/src/org/jboss/soa/esb/samples/quickstart/helloworld/test    line 42    Java Problem

            QueueConnection cannot be resolved to a type    SendJMSMessage.java    /helloworld_testclient/src/org/jboss/soa/esb/samples/quickstart/helloworld/test    line 54    Java Problem

            QueueConnectionFactory cannot be resolved to a type    SendJMSMessage.java    /helloworld_testclient/src/org/jboss/soa/esb/samples/quickstart/helloworld/test    line 53    Java Problem

            The import org.jboss.soa.esb.message cannot be resolved    SendEsbMessage.java    /helloworld_testclient/src/org/jboss/soa/esb/samples/quickstart/helloworld/test    line 25    Java Problem

            Message cannot be resolved to a type    SendEsbMessage.java    /helloworld_testclient/src/org/jboss/soa/esb/samples/quickstart/helloworld/test    line 52    Java Problem

            MessageFactory cannot be resolved    SendEsbMessage.java    /helloworld_testclient/src/org/jboss/soa/esb/samples/quickstart/helloworld/test    line 52    Java Problem

            The import org.jboss.soa.esb.message cannot be resolved    SendEsbMessage.java    /helloworld_testclient/src/org/jboss/soa/esb/samples/quickstart/helloworld/test    line 26    Java Problem

            The import org.jboss.soa.esb.client cannot be resolved    SendEsbMessage.java    /helloworld_testclient/src/org/jboss/soa/esb/samples/quickstart/helloworld/test    line 27    Java Problem

            ServiceInvoker cannot be resolved to a type    SendEsbMessage.java    /helloworld_testclient/src/org/jboss/soa/esb/samples/quickstart/helloworld/test    line 56    Java Problem

            The method stop() from the type SendJMSMessage refers to the missing type JMSException    SendJMSMessage.java    /helloworld_testclient/src/org/jboss/soa/esb/samples/quickstart/helloworld/test    line 86    Java Problem

            The method sendAMessage(String) from the type SendJMSMessage refers to the missing type JMSException    SendJMSMessage.java    /helloworld_testclient/src/org/jboss/soa/esb/samples/quickstart/helloworld/test    line 85    Java Problem

            The method setupConnection() from the type SendJMSMessage refers to the missing type JMSException    SendJMSMessage.java    /helloworld_testclient/src/org/jboss/soa/esb/samples/quickstart/helloworld/test    line 81    Java Problem

            The import org.jboss.soa.esb.actions cannot be resolved    MyJMSListenerAction.java    /helloworld/src/org/jboss/soa/esb/samples/quickstart/helloworld    line 23    Java Problem

            QueueSession cannot be resolved to a type    SendJMSMessage.java    /helloworld_testclient/src/org/jboss/soa/esb/samples/quickstart/helloworld/test    line 56    Java Problem

            QueueConnection cannot be resolved to a type    SendJMSMessage.java    /helloworld_testclient/src/org/jboss/soa/esb/samples/quickstart/helloworld/test    line 56    Java Problem

            Queue cannot be resolved to a type    SendJMSMessage.java    /helloworld_testclient/src/org/jboss/soa/esb/samples/quickstart/helloworld/test    line 55    Java Problem

            Queue cannot be resolved to a type    SendJMSMessage.java    /helloworld_testclient/src/org/jboss/soa/esb/samples/quickstart/helloworld/test    line 55    Java Problem

            JMSException cannot be resolved to a type    SendJMSMessage.java    /helloworld_testclient/src/org/jboss/soa/esb/samples/quickstart/helloworld/test    line 61    Java Problem

            QueueConnection cannot be resolved to a type    SendJMSMessage.java    /helloworld_testclient/src/org/jboss/soa/esb/samples/quickstart/helloworld/test    line 63    Java Problem

            QueueSession cannot be resolved to a variable    SendJMSMessage.java    /helloworld_testclient/src/org/jboss/soa/esb/samples/quickstart/helloworld/test    line 56    Java Problem

            QueueConnection cannot be resolved to a type    SendJMSMessage.java    /helloworld_testclient/src/org/jboss/soa/esb/samples/quickstart/helloworld/test    line 57    Java Problem

            JMSException cannot be resolved to a type    SendJMSMessage.java    /helloworld_testclient/src/org/jboss/soa/esb/samples/quickstart/helloworld/test    line 68    Java Problem

            QueueSender cannot be resolved to a type    SendJMSMessage.java    /helloworld_testclient/src/org/jboss/soa/esb/samples/quickstart/helloworld/test    line 70    Java Problem

            QueueSession cannot be resolved to a type    SendJMSMessage.java    /helloworld_testclient/src/org/jboss/soa/esb/samples/quickstart/helloworld/test    line 64    Java Problem

            QueueConnection cannot be resolved to a type    SendJMSMessage.java    /helloworld_testclient/src/org/jboss/soa/esb/samples/quickstart/helloworld/test    line 65    Java Problem

            ObjectMessage cannot be resolved to a type    SendJMSMessage.java    /helloworld_testclient/src/org/jboss/soa/esb/samples/quickstart/helloworld/test    line 71    Java Problem

            QueueSession cannot be resolved to a type    SendJMSMessage.java    /helloworld_testclient/src/org/jboss/soa/esb/samples/quickstart/helloworld/test    line 71    Java Problem

            QueueSession cannot be resolved to a type    SendJMSMessage.java    /helloworld_testclient/src/org/jboss/soa/esb/samples/quickstart/helloworld/test    line 70    Java Problem

            Queue cannot be resolved to a type    SendJMSMessage.java    /helloworld_testclient/src/org/jboss/soa/esb/samples/quickstart/helloworld/test    line 70    Java Problem