cancel
Showing results for 
Search instead for 
Did you mean: 

copying the libraries

ahoussam1
Champ in-the-making
Champ in-the-making
Hi Dear
Should I copying the libraries From activiti/lib and apache-tomcat/webapps/activiti-explorer/WEB-INF/lib  and to Eclipse project lib folder once for all workspace? Or should I copying of the Libraries  for each project being created in workspace?
Do one reply?
thanks to helpe
4 REPLIES 4

faizal-manan
Champ in-the-making
Champ in-the-making
the easier way ensure all library and dependecy is copies, is to "import maven project into eclipse"
you can find tutorial with image via google

ahoussam1
Champ in-the-making
Champ in-the-making
thanks to faizal-manan
I use Eclipse IDE for java developers,  Version: Indigo Service Release2, Build id: 20120216-1857
with jdk1.8 and activiti 5.20 and tom-cat 7
Upadted eclipse to download last plugin activiti  ver 5.18
The problem is:
When I generate unit test for BMMN file, I got java file it's ok
when I open the java file in the editor I find many mistakes until copy the library to a project folder
did not find anyone pointed to the necessity of copies of the library to the project folder (I found it in Activiti in Action book)
thank you to alerted me to the possibility of including in the library by import
question: Do you must import library with each project folder ?
second question: there is an error remain visible: first line
"The type java.util.Map$Entry cannot be resolved. It is indirectly referenced from required .class files"
How can be handled?
after create a java file I do run with JUnit test, I got the following message: "No test found in test runner 'JUnit 4'
is there a mistake?
I read a books "Activiti in Action" and "Activiti 5.x Business ProcessManagement Beginner's Guide" , i did not find solutions, perhaps because they use old versions
not:  I didn't use maven to run java only used JUnit is there Error?
thanks

faizal-manan
Champ in-the-making
Champ in-the-making
maven will help downloading all core libraries and required dependencies.
It saved time instead of searching the libraries manually. Without maven you must add those required libraries into you project manually and you may encounter problem during building war file or deploy your war file into tomcat. The 'missing library' will happen and keep repeating once you work with your team or change your machine

"The type java.util.Map$Entry cannot be resolved. It is indirectly referenced from required .class files"
How can be handled?
It happen to me, I just run mvn clean to fixed it.

after create a java file I do run with JUnit test, I got the following message: "No test found in test runner 'JUnit 4'
is there a mistake?
not: I didn't use maven to run java only used JUnit is there Error?
Not sure what wrong with your JUnit test, you can double check with others example or jUnit version

ahoussam1
Champ in-the-making
Champ in-the-making
Thank you, I will try to use mvn