Compilation issue with version 2.0

4 views
Skip to first unread message

Anurag Verma

unread,
Feb 5, 2015, 1:12:00 PM2/5/15
to ac...@googlegroups.com
Hi I am using this library version 2.0. I am having maven build & hence assume that the relevant dependencies will come by itself. Issue is with this piece of code -

IJsonizer jsonizer = new JsonizerBuilder().create();

The error message says -
No source code is available for type sk.seges.acris.json.client.IJsonizer; did you forget to inherit a required module?

I have already added this to my gwt.xml -
<inherits name="sk.seges.acris.json.JSON" />

& this is the dependency tag of my pom file -
<dependency>
<groupId>sk.seges.acris</groupId>
<artifactId>acris-json</artifactId>
<version>2.0.0</version>
<scope>provided</scope>
</dependency>

What I am missing here? Thanks in advance for help.

Anurag Verma

unread,
Feb 6, 2015, 4:27:52 PM2/6/15
to ac...@googlegroups.com
As per suggestion of Peter Simun, tried adding following to my pom.xml -

                 <dependency>
<groupId>sk.seges.acris</groupId>
<artifactId>acris-json</artifactId>
<version>2.0.0</version>
<classifier>sources</classifier>
</dependency>

It worked very well. Thanks a lot Peter.
Reply all
Reply to author
Forward
0 new messages