[hibernate-issues] [Hibernate-JIRA] Commented: (HBX-1033) org.hibernate.console.HibernateConsoleRuntimeException: Could not compute classpath

Chris (JIRA) noreply at atlassian.com
Wed Jan 23 12:42:55 EST 2008


    [ http://opensource.atlassian.com/projects/hibernate/browse/HBX-1033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_29406 ] 

Chris commented on HBX-1033:
----------------------------

The project is pretty big, don't really want to attach the whole project. I create a smaller test project and was able to create a console configuration without a problem. So its definitely something weird with this particular project, here is the .classpath and .project file if that helps?

<?xml version="1.0" encoding="UTF-8"?>
<classpath>
	<classpathentry kind="src" path="src"/>
	<classpathentry kind="lib" path="C:/Program Files/gwt-windows-1.4.60/gwt-user.jar"/>
	<classpathentry kind="lib" path="C:/Program Files/Junit 4.4/junit-4.4.jar"/>
	<classpathentry kind="lib" path="lib/velocity/velocity-1.5.jar" sourcepath="C:/temp/velocity-1.5/velocity-1.5/src/java"/>
	<classpathentry kind="lib" path="lib/velocity/velocity-dep-1.5.jar"/>
	<classpathentry kind="lib" path="lib/jodconverter-2.2.0/lib/commons-io-1.3.1.jar"/>
	<classpathentry kind="lib" path="lib/jodconverter-2.2.0/lib/jodconverter-2.2.0.jar" sourcepath="C:/temp/jodconverter-2.2.0/jodconverter-2.2.0/src/jodconverter-2.2.0-sources.jar"/>
	<classpathentry kind="lib" path="lib/jodconverter-2.2.0/lib/ridl-2.2.0.jar"/>
	<classpathentry kind="lib" path="lib/jodconverter-2.2.0/lib/slf4j-api-1.4.0.jar"/>
	<classpathentry kind="lib" path="lib/jodconverter-2.2.0/lib/slf4j-jdk14-1.4.0.jar"/>
	<classpathentry kind="lib" path="lib/jodconverter-2.2.0/lib/unoil-2.2.0.jar"/>
	<classpathentry kind="lib" path="lib/jodconverter-2.2.0/lib/xstream-1.2.2.jar"/>
	<classpathentry kind="lib" path="lib/jodconverter-2.2.0/lib/juh-2.2.0.jar"/>
	<classpathentry kind="lib" path="lib/jodconverter-2.2.0/lib/jurt-2.2.0.jar"/>
	<classpathentry kind="lib" path="C:/Apache Software Foundation/Tomcat 6.0/lib/jcaptcha-all-1.0-RC6.jar" sourcepath="C:/temp/jcaptcha/src/service/src/java"/>
	<classpathentry kind="lib" path="C:/Apache Software Foundation/Tomcat 6.0/lib/catalina.jar" sourcepath="C:/Users/cjh/Downloads/apache-tomcat-6.0.14-src.zip"/>
	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
	<classpathentry kind="var" path="GWT_HOME/gwt-servlet.jar"/>
	<classpathentry kind="lib" path="C:/Program Files/gwt-windows-1.4.60/gwt-dev-windows.jar"/>
	<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
	<classpathentry kind="lib" path="C:/Apache Software Foundation/Tomcat 6.0/bin/tomcat-juli.jar"/>
	<classpathentry kind="lib" path="C:/Apache Software Foundation/Tomcat 6.0/lib/tomcat-coyote.jar" sourcepath="C:/Apache Software Foundation/Tomcat 6.0/apache-tomcat-6.0.14-src/java"/>
	<classpathentry combineaccessrules="false" kind="src" path="/squatchauth"/>
	<classpathentry kind="lib" path="C:/Apache Software Foundation/Tomcat 6.0/lib/servlet-api.jar"/>
	<classpathentry kind="lib" path="C:/Users/cjh/Packages/dbunit-2.2/dbunit-2.2.jar"/>
	<classpathentry kind="lib" path="lib/testng-jdk15.jar"/>
	<classpathentry kind="lib" path="C:/Apache Software Foundation/Tomcat 6.0/lib/mysql-connector-java-5.1.5-bin.jar"/>
	<classpathentry kind="output" path="build/classes"/>
</classpath>


<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
	<name>squatch</name>
	<comment>squatch project</comment>
	<projects>
	</projects>
	<buildSpec>
		<buildCommand>
			<name>in.cypal.studio.gwt.core.gwtBuilder</name>
			<arguments>
			</arguments>
		</buildCommand>
		<buildCommand>
			<name>org.eclipse.jdt.core.javabuilder</name>
			<arguments>
			</arguments>
		</buildCommand>
		<buildCommand>
			<name>org.eclipse.wst.common.project.facet.core.builder</name>
			<arguments>
			</arguments>
		</buildCommand>
		<buildCommand>
			<name>org.hibernate.eclipse.console.hibernateBuilder</name>
			<arguments>
			</arguments>
		</buildCommand>
		<buildCommand>
			<name>org.eclipse.wst.validation.validationbuilder</name>
			<arguments>
			</arguments>
		</buildCommand>
		<buildCommand>
			<name>net.sourceforge.metrics.builder</name>
			<arguments>
			</arguments>
		</buildCommand>
	</buildSpec>
	<natures>
		<nature>in.cypal.studio.gwt.core.gwtNature</nature>
		<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
		<nature>org.eclipse.jdt.core.javanature</nature>
		<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
		<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
		<nature>org.hibernate.eclipse.console.hibernateNature</nature>
		<nature>net.sourceforge.metrics.nature</nature>
	</natures>
</projectDescription>


> org.hibernate.console.HibernateConsoleRuntimeException: Could not compute classpath
> -----------------------------------------------------------------------------------
>
>                 Key: HBX-1033
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-1033
>             Project: Hibernate Tools
>          Issue Type: Bug
>          Components: eclipse
>    Affects Versions: 3.2.0.GA
>         Environment: Hibernate 3.2, MySql 5/0, Eclipse for Java EE Developers( Europa ) Build id: M20070921-1145
>            Reporter: Chris
>
> After I create a "Hibernate Console Configuration" using the wizard I get the following error in the eclipse error log.
> eclipse.buildId=M20070921-1145
> java.version=1.5.0_14
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
> Command-line arguments:  -os win32 -ws win32 -arch x86
> Error
> Fri Jan 11 14:33:38 EST 2008
> org.hibernate.console.HibernateConsoleRuntimeException: Could not compute classpath
> Folowed by lots of org.hibernate.MappingException because it can't find classes detailed in the mapping files.
> I checked the box to include the projects classpath.

-- 
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