Java Spring MVC build WAR file and deploy on tomcat
Budget: ₹600 – ₹900 INR
I have a website which is developed on Spring Boot and Spring MVC which uses JSP. I have imported my project on eclipse and the application is running just fine without any problems. Now I wanted to build WAR file so that I can deploy it on tomcat server.
while running mvn clean install I am getting this error:
[ERROR] /src/main/java/com/kanvistech/controllers/TimesheetController.java:[5,38] cannot access org.springframework.stereotype.Controller
[ERROR] bad class file: C:\Users\etdef\.m2\repository\org\springframework\spring-context\6.0.0-SNAPSHOT\spring-context-6.0.0-SNAPSHOT.jar(org/springframework/stereotype/Controller.class)
[ERROR] class file has wrong version 61.0, should be 52.0
[ERROR] Please remove or make sure it appears in the correct subdirectory of the classpath.
I need you to make this command working build WAR file and deploy it in my tomcat.
I use Java 8 and tomcat 10
while running mvn clean install I am getting this error:
[ERROR] /src/main/java/com/kanvistech/controllers/TimesheetController.java:[5,38] cannot access org.springframework.stereotype.Controller
[ERROR] bad class file: C:\Users\etdef\.m2\repository\org\springframework\spring-context\6.0.0-SNAPSHOT\spring-context-6.0.0-SNAPSHOT.jar(org/springframework/stereotype/Controller.class)
[ERROR] class file has wrong version 61.0, should be 52.0
[ERROR] Please remove or make sure it appears in the correct subdirectory of the classpath.
I need you to make this command working build WAR file and deploy it in my tomcat.
I use Java 8 and tomcat 10
Related categories:
Business, Accounting, Human Resources & Legal
JSP
Software Architecture
Java Spring
Spring Boot