9 Replies Latest reply on Nov 24, 2014 4:16 AM by ahmed_algosaibi

    jBPM missing libraries

    lauradp

      Hello everybody, I'm trying to develop my first jBPM workflow using jBPM 5.3 and Eclipse Indigo (with JBoss tools and drools plugin installed).

      In Eclipse IDE I followed the path: "File > New > Other > jBPM > jBPM project" and I selected the option to create a "simple hello world process".

      The result is a java named DefWkf project with some problems (see attachment):

      • The import org.drools cannot be resolved;
      • The import org.jbpm.test cannot be resolved

       

      Where are the missing libraries located, can I add them manually?

       

      Regards

      Laura

        • 1. Re: jBPM missing libraries
          jsvitak

          Hello,

          you have two options:

          1.) Download jbpm-5.x.y.Final-installer-full. This way you receive whole jBPM suite with correctly preconfigured Eclipse. You do not have to care about configuring Eclipse.

          2.) Download just jbpm-5.x.y.Final-bin file. In your Eclipse go to Window -> Preferences -> jBPM -> Installed jBPM Runtimes and add a new runtime with a path which leads to your downloaded folder. Check build paths of your projects if there is your jBPM library added.

          • 2. Re: jBPM missing libraries
            lauradp

            Thanks a lot, Jiri

            I installed the full installer using the comman  ant.install.noeclipse. I'll try the second way.

            regards

            Laura

            • 3. Re: jBPM missing libraries
              lauradp

              Hello everybody!

              I succeded in running the hello world example!

              My error was on configuring the jBPM runtime environment into eclipse: it shoud point to the runtime subdirectory (!!!!)

              HTH

              • 4. Re: jBPM missing libraries
                jfrate

                Hi Laura,

                 

                I am having the same problem.  However I can't resolve it, I keep getting a "this is not a valid jBPM installation." error message no matter where I point the runtime environment to.  Which folder did you point to?

                 

                Thanks!

                 

                Joe

                • 5. Re: jBPM missing libraries
                  lauradp

                  I pointed to the jbpm-installer\runtime!

                  Can you start jBPM using ant?

                  • 6. Re: jBPM missing libraries
                    jfrate

                    Thanks Laura for your response and help.  I'm using the BRMS stand-alone; the doc says I should point my runtime to:

                     

                    C:\brms-standalone-5.3.0\jboss-as\client\jbpm\

                     

                     

                    but I get the "This is not a valid jPBM installation" error.  Any thoughts??

                     

                     

                    Joe

                    • 7. Re: jBPM missing libraries
                      lauradp

                      Sorry Joe,

                      I'm very new to jBPM and I've never used the standalone environment!

                      • 8. Re: jBPM missing libraries
                        jfrate

                        Thanks for your help anyway!

                        • 9. Re: jBPM missing libraries
                          ahmed_algosaibi

                          I have this error.

                          import org.jbpm.test cannot be resolved

                           

                          I'm pointing to the jbpm-installer\

                           

                          if I try to do like you  jbpm-installer\runtime there's nothing. I already download full installer I don't know what I'm missing?