>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

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!!!

> Linea Nueve>donde verysimple.jsp?Linea Nueve>where is verysimple.jsp?
verysimple.jso is in under folder src/main//webapp/WEB-INF/jsps

Thanks Lukasz and Martin

Regards
José A.

2016-06-08 5:41 GMT+01:00 Lukasz Lenart <lukaszlen...@apache.org>:

> 2016-06-07 23:10 GMT+02:00 José Antonio Delgado Trujillo <
> jadt...@gmail.com>:
> > *Stack Trace*
> > Unable to load configuration. - action -
> >
> vfs:/Users/jdeltru/PFC/wildfly-10.0.0.Final/standalone/deployments/example.war/WEB-INF/classes/struts.xml:9:74
> > org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:491)
> >
> > ------------------------------
> >
> >
> > 9:74 ---> is the line of the action name and class are correctly
> >
> > Why?
>
> How did you deploy your app to Wildfly? Looks like there is no such
> class in WAR/EAR
>
>
> Regards
> --
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>


-- 
Un saludo,
José A.
<project xmlns="http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd";>
	<modelVersion>4.0.0</modelVersion>
	<groupId>pfc.struts2</groupId>
	<artifactId>example</artifactId>
	<version>0.0.1-SNAPSHOT</version>
	<packaging>war</packaging>
	<name>Examples Struts2</name>
	<description>Example to test the framework Struts2</description>
	<dependencies>
		<dependency>
			<groupId>org.apache.struts</groupId>
			<artifactId>struts2-core</artifactId>
			<version>2.5</version>
		</dependency>
		<dependency>
			<groupId>org.apache.struts</groupId>
			<artifactId>struts2-config-browser-plugin</artifactId>
			<version>2.5</version>
		</dependency>
		<dependency>
			<groupId>org.apache.logging.log4j</groupId>
			<artifactId>log4j-core</artifactId>
			<version>2.5</version>
		</dependency>
		<dependency>
			<groupId>javax.servlet</groupId>
			<artifactId>javax.servlet-api</artifactId>
			<version>4.0.0-b01</version>
		</dependency>
		<dependency>
			<groupId>javax.servlet.jsp</groupId>
			<artifactId>jsp-api</artifactId>
			<version>2.2.1-b03</version>
		</dependency>
	</dependencies>



	<build>
		<plugins>
			<plugin>
				<artifactId>maven-compiler-plugin</artifactId>
				<version>3.3</version>
				<configuration>
					<encoding>UTF-8</encoding>
					<source>1.8</source>
					<target>1.8</target>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.mortbay.jetty</groupId>
				<artifactId>jetty-maven-plugin</artifactId>
				<version>8.1.16.v20140903</version>
				<configuration>
					<stopKey>CTRL+C</stopKey>
					<stopPort>8999</stopPort>
					<systemProperties>
						<systemProperty>
							<name>xwork.loggerFactory</name>
							<value>com.opensymphony.xwork2.util.logging.log4j2.Log4j2LoggerFactory</value>
						</systemProperty>
					</systemProperties>
					<scanIntervalSeconds>10</scanIntervalSeconds>
					<webAppSourceDirectory>${basedir}/src/main/webapp/</webAppSourceDirectory>
					<webAppConfig>
						<descriptor>${basedir}/src/main/webapp/WEB-INF/web.xml</descriptor>
					</webAppConfig>
				</configuration>
			</plugin>
		</plugins>
	</build>
</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to