Re: Unable to integrate struts2-rest-plugin in existing maven structure

2017-12-02 Thread Yasser Zamani
On 12/1/2017 7:13 PM, Adam Brin wrote: > Apologies if I missed something earlier, but can you do a dependency search > in your project and see if you already have a version of net.sf.json.lib > included elsewhere? perhaps an older (or newer) version is conflicting? > Also see your published a

Re: Unable to integrate struts2-rest-plugin in existing maven structure

2017-12-01 Thread Adam Brin
Apologies if I missed something earlier, but can you do a dependency search in your project and see if you already have a version of net.sf.json.lib included elsewhere? perhaps an older (or newer) version is conflicting? -- _ Adam Brin Dire

Re: Unable to integrate struts2-rest-plugin in existing maven structure

2017-12-01 Thread preetam1...@gmail.com
Yes, i tried jdk15 as well jdk13 On 2017-12-01 18:17, Yasser Zamani wrote: > > > On 12/1/2017 3:50 PM, PATIL Preetam wrote: > > > > net.sf.json-lib > > json-lib > > 2.4 > > > > C

Re: Unable to integrate struts2-rest-plugin in existing maven structure

2017-12-01 Thread preetam1...@gmail.com
Also tried by upgrading rest-plug in version. org.apache.struts struts2-rest-plugin 2.5 It gives new type of error ERROR InterceptorBuilder - Actual exception Could not load class org.apache.

Re: Unable to integrate struts2-rest-plugin in existing maven structure

2017-12-01 Thread Lukasz Lenart
2017-12-01 12:35 GMT+01:00 preetam1...@gmail.com : > Yes., in start i thought same (also in stack overflow everyone suggested > same). but even after adding json-lib . getting same error. > > my pom.xml contain. > > > org.apache.struts >

Unable to integrate struts2-rest-plugin in existing maven structure

2017-12-01 Thread preetam1...@gmail.com
I am trying add struts2-rest-plugin to existing application. But getting below errors. I am tried all possible option but no use! Caused by: Unable to load bean: type:org.apache.struts2.rest.handler.ContentTypeHandler class:org.apache.struts2.rest.handler.JsonLibHandler - bean - jar:file:/C:/Us

Re: Unable to integrate struts2-rest-plugin in existing maven structure

2017-12-01 Thread preetam1...@gmail.com
Yes., in start i thought same (also in stack overflow everyone suggested same). but even after adding json-lib . getting same error. my pom.xml contain. org.apache.struts struts2-core 2.3.24.1

Re: Unable to integrate struts2-rest-plugin in existing maven structure

2017-12-01 Thread Yasser Zamani
On 12/1/2017 3:50 PM, PATIL Preetam wrote: > > net.sf.json-lib > json-lib > 2.4 > Could you try jdk15 i.e. net.sf.json-lib json-lib 2.4 jdk1

RE: Unable to integrate struts2-rest-plugin in existing maven structure

2017-12-01 Thread PATIL Preetam
: Friday, December 01, 2017 5:00 PM To: Struts Users Mailing List Subject: Re: Unable to integrate struts2-rest-plugin in existing maven structure 2017-12-01 12:26 GMT+01:00 PATIL Preetam : > Hello, > > I am trying add struts2-rest-plugin to existing application. tried all > possibl

Re: Unable to integrate struts2-rest-plugin in existing maven structure

2017-12-01 Thread Lukasz Lenart
2017-12-01 12:26 GMT+01:00 PATIL Preetam : > Hello, > > I am trying add struts2-rest-plugin to existing application. tried all > possible option but no use.! > I am new to maven related stuff, > > Getting below errors. > > Caused by: Unable to load bean: > type:org.apache.struts2.rest.handler.Con

Unable to integrate struts2-rest-plugin in existing maven structure

2017-12-01 Thread PATIL Preetam
Hello, I am trying add struts2-rest-plugin to existing application. tried all possible option but no use.! I am new to maven related stuff, Getting below errors. Caused by: Unable to load bean: type:org.apache.struts2.rest.handler.ContentTypeHandler class:org.apache.struts2.rest.handler.Json