struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From José Antonio Delgado Trujillo <jadt...@gmail.com>
Subject Re: Unable to load configuration
Date Wed, 08 Jun 2016 20:54:59 GMT
BIZARRE :C

I changed my POM for some simple build section only:

   - maven-war-plugin
   - maven-compiler-plugin



Way 1 - FAIL
    Run AS / Run on Server

Way 2 -  CORRECT
    1. Run AS / Maven Install
    2. Run AS / Run on Server

Way 3 - CORRECT
    1. mvn install (from console batch)
    2. add the war (from console server)

I thought way 1 was the same  way 2.
But It was something with Run on server when the war no was created
previousy.

The most bizarre was the problem changed (and i don't know why):
  - It could't  instantiate the filter.
  - It couldn't found Log4j class.
  - Something wrong with the struts.xml


Thanks for your time (both Martin and Lukasz)

Regards

2016-06-08 18:21 GMT+01:00 Lukasz Lenart <lukaszlenart@apache.org>:

> 2016-06-08 18:40 GMT+02:00 José Antonio Delgado Trujillo <
> jadtmat@gmail.com>:
> >>How did you deploy your app to Wildfly? Looks like there is no such
> >>class in WAR/EAR
> > I usually choose between two things:
> >
> > run on the server -- in the Eclipse IDE Mars2
> > maven/install and then add the war in the serverRuntime -- in the IDE
>
> There was many issues with deploying WAR by Eclipse, try to do it manually
>
> > Sure the war is deployed but i think is malformed when i saw the trace
> (file
> > attached) i found Dispatcher initialization failed.
> >
> > My pom was created by cero adding the dependencies and some building
> > comparing POM's archetype struts.
> >
> > I can't see any strange so i am blocked!!!
>
> The simplest way is to unpack the WAR and see its content
>
>
> Regards
> --
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


-- 
Un saludo,
José A.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message