Also tried by upgrading rest-plug in version.
<dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-rest-plugin</artifactId>
<version>2.5</version>
</dependency>
It gives new type of error
ERROR InterceptorBuilder - Actual exception
Could not load class org.apache.struts2.rest.RestWorkflowInterceptor. Perhaps
it exists but certain dependencies are not available? - interceptor -
jar:file:/C:/Users/u/.m2/repository/org/apache/struts/struts2-rest-plugin/2.5/struts2-rest-plugin-2.5.jar!/struts-plugin.xml:61:103
Caused by: java.lang.NoClassDefFoundError: org/apache/logging/log4j/LogManager
Caused by: java.lang.ClassNotFoundException: org.apache.logging.log4j.LogManager
On 2017-12-01 18:17, Yasser Zamani <[email protected]> wrote:
>
>
> On 12/1/2017 3:50 PM, PATIL Preetam wrote:
> > <dependency>
> > <groupId>net.sf.json-lib</groupId>
> > <artifactId>json-lib</artifactId>
> > <version>2.4</version>
> > </dependency>
>
> Could you try
>
> <classifier>jdk15</classifier>
>
> i.e.
>
> <dependency>
> <groupId>net.sf.json-lib</groupId>
> <artifactId>json-lib</artifactId>
> <version>2.4</version>
> <classifier>jdk15</classifier>
> </dependency>
>
> Regards,
> Yasser.
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]