- This topic has 1 reply, 2 voices, and was last updated 17 years, 8 months ago by Riyad Kalla.
Viewing 2 posts - 1 through 2 (of 2 total)
-
AuthorPosts
-
sbirnieMemberI’m getting the following error when I try to reverse engineer a simple table. I tell it to create the hbx file, java model and dao classes, and trying to apply it to the existing spring configuration.
!ENTRY com.genuitec.org.springframework.ide.eclipse.beans.core 4 0 2007-03-28 15:09:19.702 !MESSAGE Could not resolve beans DTD [http://www.springframework.org/dtd/spring-beans-2.0.dtd]: not found in class path !STACK 0 java.io.FileNotFoundException: class path resource [/org/springframework/beans/factory/xml/spring-beans-2.0.dtd] cannot be opened because it does not exist at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:137) at org.springframework.ide.eclipse.beans.core.internal.parser.BeansDtdResolver.resolveEntity(BeansDtdResolver.java:53) at org.apache.xerces.util.EntityResolverWrapper.resolveEntity(Unknown Source) at org.apache.xerces.impl.XMLEntityManager.resolveEntity(Unknown Source) at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.springframework.ide.eclipse.beans.core.internal.parser.EventBeanDefinitionReader.loadBeanDefinitions(EventBeanDefinitionReader.java:126) at org.springframework.ide.eclipse.beans.core.internal.parser.EventBeanDefinitionRegistry.loadBeanDefinitions(EventBeanDefinitionRegistry.java:56) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig.readConfig(BeansConfig.java:361) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig.getException(BeansConfig.java:223) at com.genuitec.eclipse.springframework.builder.AllConfigsValidator.validateConfig(AllConfigsValidator.java:54) at com.genuitec.eclipse.springframework.builder.AllConfigsValidator.build(AllConfigsValidator.java:43) at org.springframework.ide.eclipse.core.internal.project.SpringProjectBuilder.build(SpringProjectBuilder.java:156) at org.springframework.ide.eclipse.core.internal.project.SpringProjectBuilder.access$0(SpringProjectBuilder.java:152) at org.springframework.ide.eclipse.core.internal.project.SpringProjectBuilder$DeltaVisitor.visit(SpringProjectBuilder.java:143) at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:67) at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:76) at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:48) at org.springframework.ide.eclipse.core.internal.project.SpringProjectBuilder.build(SpringProjectBuilder.java:96) at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:603) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:167) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:201) at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:230) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:233) at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:252) at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:285) at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:145) at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:208) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
Riyad KallaMemberThe exception seems pretty straight forward… what version of Spring do you have on your build path? If you drill down into the JAR containing the /org/springframework/beans/factory/xml/ package, can you find the DTD?
-
AuthorPosts
Viewing 2 posts - 1 through 2 (of 2 total)