Eclipse creates a new Activiti project (the Activiti project uses the MAVEN managed project by default), then configures the pom.xml to add the required jar dependencies, and then introduces the dependencies to discover the options that are not prompted to import the required packages in the test class
Such as:
Problem reason: The project defaults to a normal Java project, and the update project can use Maven's package dependency management functionality after converting the project to a MAVEN project
Workaround:
1. Right-click on the project name-Configure-convert to MAVEN project;
2. Right-click on the project name-maven does not operate update project;
After setting the following:
I'm already drunk anyway ....
If you do not have a MAVEN environment installed, please refer to the blog post:
http://blog.163.com/zhangzheming_282/blog/static/1179209620144510484432/
Eclipse Build Activiti Project, class import prompt function cannot be used