Error executing first MAVEN use case: Unknown lifecycle Phase "complile".

Source: Internet
Author: User

The following is a detailed information about the error:

[ERROR] Unknown Lifecycle Phase "Complile". You are must specify a valid lifecycle p Hase or a goal in the format:or: [:]:. Available Lifecycle phases Are:validat E, initialize, generate-sources, process-sources, Generate-resources, p Rocess-re sources, compile, process-classes, generate-test-sources, Process-test-sources, Generate-test-resources, Process-test-resources, Test-compile, process-test-clas ses, test, prepare-package, package, Pre-integration-test, Integration-test, Pos t-integration-test, verify, install, deploy, Pre-clean, clean, Post-clean, pre-s ite, site, post-sit E, Site-deploy. -> [Help 1]

SVN can't tell because of the wrong command.

Execute mvn clean install, remove the horizontal bar.

To proceed to the project Head Road record package at the command line, execute the above command.

Then because of the link in the module code, in Lib to remove the introduction of the jar package can be.

Dependencies are the first time the framework is followed by the platform,workflow,efrom and layers of dependencies. Install, pay attention to the packing before and after the order, preferably under the total project clean install.

9.13 Update:

Re-pull the new code, the command line UTF-8 what naming error. Compile the Framework-java,platform-java,workflow-java,eform-java,workflowadapter-java as a jar. A few things to keep in mind when setting up a Web project. Note that plus the Java EE environment, the corresponding jar packages and files are deleted in the SRC and target directories. The path configuration should be consistent with the picture on the desktop. It is best to set the appropriate path in the localhost directory. If the tomcat is out of memory, just change to a new one.

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.