-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: maven compiler error when switching to 3.2.0.Beta1
PostPosted: Tue Dec 08, 2009 9:03 am 
Newbie

Joined: Wed Jul 04, 2007 12:03 pm
Posts: 14
hello,

we're facing a 'strange compiler error' when switching to latest 3.2.0.Beta1

Failure executing javac, but could not parse the error:
An exception has occurred in the compiler (1.6.0_17). Please file a bug at the Java Developer Connection (http://java.sun.com/webapps/bugreport) after checking the Bug Parade for duplicates. Include
your program and the following diagnostic in your report. Thank you.
com.sun.tools.javac.code.Symbol$CompletionFailure: class file for org.hibernate.annotations.SortType not found


Top
 Profile  
 
 Post subject: Re: maven compiler error when switching to 3.2.0.Beta1
PostPosted: Tue Dec 08, 2009 10:17 am 
Hibernate Team
Hibernate Team

Joined: Thu Apr 05, 2007 5:52 am
Posts: 1689
Location: Sweden
Hi,

never seen this before. What OS are you running on? Which JDK are you using? provide as much information as possible about your environment that might help to narrow down your problem.

Have you made sure that it is Hibernate Search which causes the problem? You could try to run this (provided you are using maven):
Code:
mvn archetype:generate -DarchetypeCatalog=http://repository.jboss.com/maven2/archetype-catalog.xml

You will get a list of archetypes presented. Select the Hibernate Search one and specify the group, artifactId and version values for your test project. After that the maven archetype plugin will create a sample Hibernate Search project for you. just run:
Code:
mvn test

This way you will be able to tell if the problem is really with Hibernate Search alone.

--Hardy


Top
 Profile  
 
 Post subject: Re: maven compiler error when switching to 3.2.0.Beta1
PostPosted: Tue Dec 08, 2009 10:41 am 
Newbie

Joined: Wed Jul 04, 2007 12:03 pm
Posts: 14
hello

thanx for the feedback.
the test didn't run but probably gave an indication of the issue.
i'm seeing that 3.2.0.Beta1 is dependent on hibernate core 3.5.0-Beta-2 while i was trying with 3.4.0.
probably that's a possible cause.

thanx

koen handekyn


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.