简体   繁体   中英

Unable to run the Java app in local environment

After developing a Java application, I ran the command

mvn clean install

the build resulted in SUCCESS. Now, I tried to run the app in the local environment with the command

mvn scp:clean scp:push -pl application

It resulted in the error as below.

No plugin found for prefix 'scp' in the current project and in the plugin groups

Can someone please help me?

Thanks, Sankeerth

scp:push is the command to deploy an application locally which is built for the neo environment as described here . It is required that you generated your project with a neo archetype, such as scp-neo-javaee7.

On Cloud Foundry for the tomee archetype you should be able to execute the following command to start the application locally: cd application mvn tomee:run

Additional information can be found in the Tutorial for Cloud Foundry

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM