Error: tomEE is required to support EAR / EJB deployment error message

I am trying to configure a spring MVC application so that it creates a war file when the application is deployed. When I add the examqa:war artifact, I get the following error message (see the bottom of the image)

Run / debug config

Not sure where to look, did not mention this error when using Google. Any ideas?

+6
source share
3 answers

I forgot to change artifactId and name in my pom.xml file from the previous setting.

 <artifactId>examqa</artifactId> <name>ExamQA</name> 
+1
source

I have the same problem, but the solution was different. The problem was that the type of artifact had to be changed from a Java EE application blown up to a web application: Explode / Archive

+3
source

I changed the type of artifact from EAR to WAR (deleted the old one and created a new one). This solved the problem. In intellij, this can be done by going to the artifacts in the project structure (alt + ctrl + shift + s).

0
source

Source: https://habr.com/ru/post/974707/


All Articles