Questions tagged [java-war]

11 questions
5
votes
1 answer

Unable to instantiate VelocityEngine, when deploying war file

I am deploying an application on Tomcat 6, using a war file. I've compiled the source code given by the vendor on the same machine, then moved the war file to {tomcat-home}/webapps/ When I start up the application, I see a error message: The…
jeph perro
  • 6,242
  • 26
  • 90
  • 124
3
votes
5 answers

Can I have multiple Java webapps with overlapping paths?

I have a large collection of different independent (stateless) web services written in Java and compiled as WAR files. I want to deploy them to a single web application server. If the URIs handled by the services in each WAR file began with a prefix…
mcherm
  • 23,999
  • 10
  • 44
  • 50
3
votes
1 answer

Creating war file in Windows 7

I am trying to set up a GCM Demo Application. http://developer.android.com/guide/google/gcm/demo.html I am stuck trying to create a war file: In a shell window, go to the gcm-demo-server directory. Generate the server's WAR file by running ant…
user182192
  • 729
  • 3
  • 14
  • 26
2
votes
1 answer

How can I set context path in spring boot jboss/wildfly?

I know how to set context path in WAR project. Create a context.xml file in META-INF folder and add the below lines But i don't know how to set in JAR projects without…
Pamba
  • 776
  • 1
  • 16
  • 29
2
votes
2 answers

Deploy war file in a grizzly server

I have spent a few days on this and I still did not find an answer (i did find questions asking for this) I am coding with java, using a grizzly server (2.3 version) and I've managed to work with many kind of resources (restful classes, java…
Mario
  • 767
  • 1
  • 14
  • 42
2
votes
3 answers

ClassNotFoundException/NoClassDefFoundError in my Java web application

I developer a web application using Java. When I deploy it to my application server (Jetty, Tomcat, JBoss, GlassFish, etc.) throws an error. I can see this error message in the…
Luiggi Mendoza
  • 85,076
  • 16
  • 154
  • 332
1
vote
2 answers

How to build a .war file for deployment using gradle

So I've been playing around with spring boot for the first time and it works wonderfully, except I can't figure out how to build a .war file to deploy to my personal server. I've read a dozen or more blogs documentation on the Spring website but I…
Dan Anderson
  • 1,062
  • 13
  • 26
1
vote
2 answers

Unable to deploy WAR file to Websphere using IBM Rational Application Developer

I am using the IBM RAD IDE and building a dynamic web project. When I build the project and attempt to add it to the server by selecting 'add or remove projects' I get the response that there are no projects to add or remove. Does this mean I will…
user124626
1
vote
2 answers

How i can deploy my j2ee application in cloud servers

I am new to j2ee and java web apps development. I have an query about how to deploy the build WAR file into cloud. i.e, Weather Cloud systems provide j2ee servers for running our java based web apps or not. If so, please provide me the links of…
MohanKumar
  • 13
  • 3
0
votes
1 answer

Creating jar during Maven cycle to be used as dependency of following projects

I am wanting to mavenize our projects but have a somewhat complex scenario. Need opinions on the best way to handle a situation in which classes from a web app are required by other apps that are built and deployed along side it. My projects look…
Half_Duplex
  • 5,102
  • 5
  • 42
  • 58
-1
votes
5 answers

Tomcat war run application - Failed to start component

I try to run a WAR to my Tomcat 9.0.5 The deploy is going fine, but when i try to start the application i got this exception: 28-Feb-2018 10:17:33.328 SEVERE [http-nio-8080-exec-8] org.apache.catalina.core.ContainerBase.addChildInternal…
solarenqu
  • 804
  • 4
  • 19
  • 44