facebook

Reverse Engineering not creating any files.

  1. MyEclipse Archived
  2.  > 
  3. Database Tools (DB Explorer, Hibernate, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #268107 Reply

    sbirnie
    Member

    I’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)
    
    #268139 Reply

    Riyad Kalla
    Member

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

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Reverse Engineering not creating any files.

You must be logged in to post in the forum log in