war

Grails 2, run-war -> java.lang.ClassNotFoundException: grails.test.mixin.services.ServiceUnitTestMixin

你说的曾经没有我的故事 提交于 2019-12-08 09:16:26
问题 Got a Grails 2 app and executing run-app works fine, run-war fails: 2011-12-24 12:43:40,996 [Thread-2] ERROR context.ContextLoader - Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pluginManager' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: Lgrails/test/mixin/services/ServiceUnitTestMixin; at java.util.concurrent

How to upload a spring web application to cPanel?

主宰稳场 提交于 2019-12-08 08:28:48
问题 I just payed for my hosting and now I want to upload my spring App. I just made the configuration to deploy a .war from my app. But where is this .war located and how can I upload it into public_html from cPanel ? This is what the configuration in order to deploy my .war : Main: @SpringBootApplication public class Application extends SpringBootServletInitializer { @Override protected SpringApplicationBuilder configure(SpringApplicationBuilder application) { return application.sources

gradle - how to exclude WEB-INF/classes from war

∥☆過路亽.° 提交于 2019-12-08 07:31:19
问题 I have a fairly simple requirement. I have the following project layout: project/build.gradle --src/main/java --src/main/res What I would like to do is create a jar for all the java files in project/src/main/java Include this jar file in the war and then exclude the WEB-INF/classes from the war file My build.gradle look as follows: apply plugin: 'java' apply plugin: 'eclipse' apply plugin: 'jetty' apply plugin: 'war' dependencies { .. compile 'com.fasterxml.jackson.core:jackson-core:2.3.0'

Can't produce WAR file from Spring Boot application

南楼画角 提交于 2019-12-08 07:06:38
问题 EDIT: Problem has gone when I run mvn package command in command line instead of IDE. WAR package working on local tomcat but giving 404 on server I have a spring boot application which runs perfectly as a jar but when I try to package as a war I am getting this error when I run application in Intellij IDEA. 2016-04-25 14:57:52.102 ERROR 6340 --- [ main] o.s.boot.SpringApplication : Application startup failed org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse

Applet throws java.io.FileNotFoundException: http :// localhost:7001/test/lib/log4j.jar

自闭症网瘾萝莉.ら 提交于 2019-12-08 06:25:59
问题 I have an applet embedded in JSF page that runs and functions just fine, which also makes a call to SOAP web service. However, it is spitting out a lots of errors on upload that don't really make any difference on how applet works, but delays upload of it. I tried specifying codebase, packaging those jars in various locations of war, and many other options, but nothing really stops these messages. Jars can be found easily under http://localhost:7001/test , but not where for some reason it is

404 when deploying Grails 3.1.10 war to tomcat7 or tomcat8

一曲冷凌霜 提交于 2019-12-08 05:59:44
问题 The closest stackoverflow question that explains my symptoms is here - How can I deploy a Grails 3.0.1 war file in Tomcat7? I am in the process of upgrading a Grails 2.3.4 application to Grails 3.1.10 and everything is working with 'grails run-app'. When i deploy to a war i get nothing but 404's for any url. The war deploys without any error messages in catalina.out. The tomcat access logs show my access attempts. (not linux problem?) I can get to the tomcat manager, and the tomcat manager

how to create separate war for my front end (angularjs) in multimodule maven project

强颜欢笑 提交于 2019-12-08 05:37:58
问题 I am using this directory structure : Parent | |--Back-end(one module FOR enitity) | |- pom.xml | |--Back-end(one module FOR rest) | |- pom.xml | |--Back-end(one module FOR service) | |- pom.xml | |--Front-end(module for angular) | |-public | | |-myApp | | |-all angularjs related files | | | |pom.xml My back-end module produces a WAR but now how to make separate war for angular : the goal here is to be able to deploy the entire javascript application(angularjs) as a java war file. 回答1: Try to

RMI from Tomcat to Weblogic

半城伤御伤魂 提交于 2019-12-08 03:57:39
问题 I have a webapp that is integrating with a RMI interface on a weblogic server. During development I used the wlfullclient.jar and everything was fine. But as I deployed the war on Tomcat I encountered a problem: validateJarFile(.../wlfullclient-10.3.2.jar) - jar not loaded. See Servlet Spec 2.3 ...Offending class: javax/servlet/Servlet.class So wlfullclient.jar has its own implementation of javax.servlet.Servlet and Tomcat doesnt like it. What can I do? Without wlfullclient.jar I get javax

Skinny wars with multiple spring boot wars into an ear package and deploy to jboss 7.3 (jboss-eap-6.2)

Deadly 提交于 2019-12-08 01:04:40
问题 I'm trying to deploy an ear package into a jboss 7.3 (jboss-eap-6.2) with skinnywars, with no luck so far. The ear conatins multiple spring-boot wars and jars. For the sake of clarity, i've created one simple ear project with 2 little spring-boot wars and I obtained the same results, skinnywars to false and then it works.... The process: I've made a fresh installation of jboss-eap-6.2 (which will be running in standalone mode) I've created a parent pom.xml for the main project with the spring

Simple build tool (SBT) package WAR

谁说我不能喝 提交于 2019-12-07 23:10:25
问题 I have a multiple project configuration. One of the projects needs to be build as a war file for future deployment. I used this sbt-plugin: https://github.com/JamesEarlDouglas/xsbt-web-plugin to build the war. However I need it to include depended projects as jars. In maven I included other modules as a dependency in my WAR module and they appeared eventually in the WAR:lib directory. It seems that sbt-web-plugin default behavior is not to include them What I mean is: This is a part of my