Hi,

I'm also new to the community, and I had the same issue. I noticed that
version in branch 0.3.1-incubating works just fine, so this behaviour was
introduced in branch 0.3.2. I have been reading the mails archive and found
that some dependencies were removed from build task because them dont meet
ASF licence. They can be used in development but shouldn't be shipped with
the deployable production package. Please, anyone more experienced than me
on this project, correct me if i'm wrong

So, here are some things you can do
.- option a) if you are developing, build your war adding *-PbuildType=TEST*
to your gradle command. That should do the trick
.- option b) if you are in prod scenario, you could copy to your tomcat lib
folder all dependencies needed (I did it just to know what was missing, I
will give you the detail later)
.- option c) checkout branch 0.3.1 :-)

I dont know if the changes introduced because of this dependencies licences
issue are definitive, I think it is still being discussed.


Now, the things I had to copy to tomcat lib folder in case you want to
follow option b) are:
+ antlr-2.7.7.jar
+ hibernate-jpa-2.1-api-1.0.0.Final.jar
+ jandex-1.1.0.Final.jar
+ javassist-3.18.1-GA.jar
+ jboss-logging-3.1.3.GA.jar
+ jboss-transaction-api_1.2_spec-1.0.0.Final.jar
+ hibernate-commons-annotations-4.0.5.Final.jar
+ hibernate-core-4.3.6.Final.jar
+ hibernate-entitymanager-4.3.6.Final.jar
+ validation-api-1.1.0.Final.jar
+ dom4j-1.6.1.jar

And it does not end there, I had to remove from WAR package the following
- dom4j-1.6.1.jar
- javax.persistence-2.0.0.jar


I hope this helps you

Regards
Lionel


2016-07-21 8:53 GMT-03:00 Anirudh Jain <spond...@gmail.com>:

> Hi,
>
> I followed the instructions on the website you mentioned and got the
> database populated. But everytime I run the ServerApplication.java or
> ServerWithMariaDB4JApplication, i am getting the a lot of errors including
> unable to start embedded Tomcat and cannot Autowire field.
> The complete error is at: http://pastebin.com/5f37xc0y
>
> I can't seem to figure out the problem and am stuck. Would appreciate any
> help, thanx in advanced.
>
> Regards,
> Anirudh Jain
>

Reply via email to