cancel
Showing results for 
Search instead for 
Did you mean: 

Compiling and deployment Problem

s3ven
Champ in-the-making
Champ in-the-making
Hi,

I'm trying to run the ten minute tutorial, so far I've done:

1. Create a new eclipse Java Project
2. Include the jars from "setup/files/dependencies/libs"
3. Include the files "FinancialReportProcess.bpmn20.xml" and "TenMinuteTutorial.java" taken from the tutorial.

But now when I try to compile i get several errors, saying it can't find the libraries.

    
[javac] C:\…\10\TenMinuteTutorial.java:8: cannot find symbol
[javac] symbol  : class ProcessEngine
[javac] location: class TenMinuteTutorial
[javac]     ProcessEngine processEngine = ProcessEngineConfiguration
[javac]     ^


I tried to add the import: "import org.activiti.engine;" but it still doesn't work. I have no errors when writing the code, only when I compile. Am I missing something?

I´d be glad if somebody could help!
Thanks in advance,
John
4 REPLIES 4

frederikherema1
Star Contributor
Star Contributor
Do you compile manually? What do you use as classpath (javac -cp …)?

s3ven
Champ in-the-making
Champ in-the-making
Yes, I do it like this.

javac -cp c:\activiti\setup\files\dependencies\libs TenMinuteTutorial.java
OR
javac -cp c:\activiti\setup\files\dependencies\libs\*.jars TenMinuteTutorial.java


I tried to adapt an ANT build file from the examples but I don't understand it.

frederikherema1
Star Contributor
Star Contributor
Double-check your classpath… Maybe try building with maven Smiley Wink

s3ven
Champ in-the-making
Champ in-the-making
I still can't get the example to work, even with maven.

I can deploy the deploy the "activiti-engine-examples" fine, but this for some reason I can't.

Thanks for you help.