Eclipse Build Activiti Project, class import prompt function cannot be used

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.