Questions tagged [classmate]

Tag for Java ClassMate library

Java ClassMate library (https://github.com/cowtowncoder/java-classmate) is used to resolve generic types, type variables and parameters in class, field, method and construct declarations into actually usable "nest classes".

4 questions
3
votes
1 answer

Why is Hibernate 4.2 using jandex and classmate if its Maven POM defines them as test scope?

I'm developing a simple example with Hibernate, using it outside any container. I'm using Maven, and thus configured the JBoss repository (see https://community.jboss.org/wiki/MavenGettingStarted-Users) and added the following dependencies to my…
Vítor E. Silva Souza
  • 1,575
  • 1
  • 18
  • 23
2
votes
2 answers

hibernate 4.3.5 with classmate on glassfish 4 typeresolver error

I recently updated an app i'm working on from glassfish 3.1.2 to glassfish 4.0, and in the process updated my hibernate to 4.3.5. after getting everything together, when i try to actually deploy my app and hit the front page, on the first database…
cmaroney
  • 283
  • 3
  • 9
1
vote
2 answers

Resolving generic type with java classmate

After failing miserably trying to use TypeTools Resolving generic type information with TypeTools I am attempting to use https://github.com/cowtowncoder/java-classmate instead. Can someone help me fix this code? public T fromMap(S map) { …
dmz73
  • 1,588
  • 4
  • 20
  • 32
0
votes
0 answers

Correct plugin for Grails

I am new to Grails, so I apologize for the newbie question. I am trying to move an application to 2.4.3 from 1.3.7 and I hit this plugin - classmate-1.1.0. I have set the entry in my BuildConfig.grrovy file to be: runtime…