Saturday, October 13, 2018

Tomcat 9 showing error for maven application deployment

Showing below error message when start tomcat 9 with maven onlinetest  application installed on server.




Unable to acquire the state change lock for the module osgi identity in Eclipse Neon 3

Follow these step to resolve this issue in Eclipse Neon.3
Go to this path and delete .fileTableLock

D:\eclipseneon\eclipse\configuration\org.eclipse.osgi\.manager



No goals have been specified for this build. You must specify a valid lifecycle phase or a goal.

c:\spring\demo>mvn -P pom.xml

Activate new pom.xml profile.

use this command
c:\spring\demo>mvn clean

No goals have been specified for this build. You must specify a valid life cycle phase or a goal in the format

For this issue use this command

c:\spring\demo>mvn package