Top "War" questions

Web Application Archive - Is Jar file used to distribute JavaServer Pages, Java Servlets, Java classes, XML files, tag libraries and static Web pages (HTML and related files) that together constitute a Web application.

what is the right path to refer a jar file in jpa persistence.xml in a web app?

persistence.xml looks like this: <persistence-unit name="testPU" transaction-type="RESOURCE_LOCAL"> <provider>org.hibernate.ejb.HibernatePersistence&…

hibernate jpa persistence java-ee-6 war
Server is not connected when trying to deploy with intellij

I am trying to build, deploy and debug my webapp inside intellij. I have setup my tomcat using this answer …

tomcat intellij-idea war auto-update
Is web.xml required to deploy a spring boot application

I was trying to package a spring boot application as a war. According to this, I modified my Application class: @…

java web-services spring-boot war
JBoss 7: how to change a WAR context root

I have an application that is to be deployed in a WAR file (app.war). After deployment it is available …

jboss war jboss7.x contextroot jboss-web
Why is maven-war-plugin failing for web.xml missing if I configured it not to fail on missing web.xml?

Here's a challenge: why is this build failing? I have configured Maven's maven-war-plugin not to fail on an abscent web.…

java maven maven-3 war maven-war-plugin
Eclipse publishing to Tomcat

I recently came back to using Eclipse after 2 years of IntelliJ. Things have changed. Now when I try to run …

eclipse tomcat war
Deploying .ear file to tomcat

I have an .ear file which contains multiple war files. I am moving the app to tomcat. Once I have …

tomcat websphere war tomcat7 ear
create a .war file from gwt-project

How do I create a .war-file from my gwt-project in eclipse?

java gwt tomcat war
Weblogic application context root is war file name instead of name specified in weblogic.xml

I have an application which I have deployed using Maven to Weblogic 10.3.6. I have specified context root in weblogic.xml …

deployment weblogic war weblogic11g contextroot
Maven WAR dependency - cannot resolve package?

I have a war dependency: <dependency> <groupId>my.package</groupId> <artifactId>myservices&…

java spring maven remoting war