[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-4870) Cannot determine java-type from given member [null]

Andreas Joseph Krogh (JIRA) noreply at atlassian.com
Tue Mar 30 16:10:33 EDT 2010


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-4870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=36042#action_36042 ] 

Andreas Joseph Krogh commented on HHH-4870:
-------------------------------------------

More noise:

{code}
[INFO] Compiling 174 source files to /home/andreak/dev/hibernate/entitymanager/target/classes
[INFO] [injection:bytecode {execution: default}]
[INFO] writing injection changes back [/home/andreak/dev/hibernate/entitymanager/target/classes/org/hibernate/ejb/Version.class]
[INFO] [antrun:run {execution: process_annotations}]
[INFO] Executing tasks

uptodate.check:

generate-metamodel:
     [echo] Processing JPA annotations for metamodel generation
    [mkdir] Created dir: /home/andreak/dev/hibernate/entitymanager/target/generated-src/jpamodelgen
    [javac] Compiling 252 source files to /home/andreak/dev/hibernate/entitymanager/target/generated-src/jpamodelgen
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] An Ant BuildException has occured: The following error occurred while executing this line:
/home/andreak/dev/hibernate/entitymanager/build.xml:17: Error running ${jdk16_home}/bin/javac compiler

java.io.IOException: ${jdk16_home}/bin/javac: not found
{code}

What's up with jdk16 now all of a sudden, when 1.5 is required to build?

Are there any other surprises down the road?
Any hints on how to get Hibernate to build from SVN are welcome:-)

> Cannot determine java-type from given member [null]
> ---------------------------------------------------
>
>                 Key: HHH-4870
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4870
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: entity-manager
>    Affects Versions: 3.5.0-Beta-4
>         Environment: jdk 6u18
> glassfishv3
>            Reporter: Marcial Atienzar
>            Assignee: Steve Ebersole
>             Fix For: 3.5.0.Next
>
>         Attachments: eclipse.debug, Empre.java, fk_to_nonpk.zip, hibernate.cfg.xml, hibernateTest.ear, jpa2-failure-java.jar, jpa2-failure.jar, persistence.xml, Prcontra.java, PrcontraPK.java
>
>          Time Spent: 6 hours, 35 minutes
>  Remaining Estimate: 0 minutes
>
> I've tested to migrate from hibernate 3.3.2 to 3.5.0 Beta4.
> I've remove all hibernate*.jar from classpath and add only de hibernate3.jar
> I've downloaded the source off hibernate-entitymanager to debug from eclipse. I've reached the class that has the error, but I don't know what can I do to resolve it.
> I'm doing something wrong?
> I attatch the sources of the classes that takes part on eclipse debug.
> I don't know how to attach a testcase. The project has more than 200 entities.
> I've post previously in hibernate forums:
> https://forum.hibernate.org/viewtopic.php?f=1&t=1002363&p=2424419#p2424419

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list