Seam Generate Entities crashes
patpirtle Apr 15, 2008 2:52 PMWhen I tried to do a new/Seam Generate Entities, I got the following error:
Can't generate seam entities
org.hibernate.console.HibernateConsoleRuntimeException: Could not load JPA Configuration
Could not load JPA Configuration
org.hibernate.console.HibernateConsoleRuntimeException: Could not load JPA Configuration
Could not load JPA Configuration
org.hibernate.console.HibernateConsoleRuntimeException: Could not create JPA based Configuration
Could not create JPA based Configuration
java.lang.reflect.InvocationTargetException: <no message>
java.lang.reflect.InvocationTargetException
javax.persistence.PersistenceException: java.lang.IllegalArgumentException: Unable to visit JAR file:/C:/Documents and Settings/Pat/My Documents/eclipse workspaces/MySeamProject2-ejb/build/classes. Cause: Illegal character in path at index 18: file:/C:/Documents and Settings/Pat/My Documents/eclipse workspaces/MySeamProject2-ejb/build/classes
java.lang.IllegalArgumentException: Unable to visit JAR file:/C:/Documents and Settings/Pat/My Documents/eclipse workspaces/MySeamProject2-ejb/build/classes. Cause: Illegal character in path at index 18: file:/C:/Documents and Settings/Pat/My Documents/eclipse workspaces/MySeamProject2-ejb/build/classes
java.lang.IllegalArgumentException: Unable to visit JAR file:/C:/Documents and Settings/Pat/My Documents/eclipse workspaces/MySeamProject2-ejb/build/classes. Cause: Illegal character in path at index 18: file:/C:/Documents and Settings/Pat/My Documents/eclipse workspaces/MySeamProject2-ejb/build/classes
Unable to visit JAR file:/C:/Documents and Settings/Pat/My Documents/eclipse workspaces/MySeamProject2-ejb/build/classes. Cause: Illegal character in path at index 18: file:/C:/Documents and Settings/Pat/My Documents/eclipse workspaces/MySeamProject2-ejb/build/classes
From first glance, it appears that it cannot handle spaces in the filename. Can anybody verify this?
I'm about out of patience. I've been trying to get a simple seam app going for two weeks, without any success. I may give it a couple more days, but I'm not very hopeful. Nothing seems to work in my environment. I'll probably go back to MyEclipse. I had a lot better luck with them.
I really wanted Seam to work. It looked so cool on the surface. Alas, I have spent two week fighting the tools and the environment, and accomplished nothing. Perhaps I'll revisit in 6 months. Hopefully things will be better then.