I am not sure what I am missing here. The binding.xml is as follows I am not using any namespace stuff here..

 

<!--

      Mapping file for stcdbotd Repository

      @Author : Sudhi Seshachala

      @version :$Revision:  $

-->

 

if I remove the “default” It ain’t makin difference..

 

<binding package="com.stc.stcdbeway.repository.impl" default="elements">

 

 

            <mapping name="stcdbDBConnectionDefinition" class="com.stc.stcdbeway.repository.impl.StcdbDBConnectionDefinitionImpl">

                  <value style="attribute" name="name" field="name"/>

                  <value style="attribute" name="driverClass" field="driverClass"/>

                  <value style="attribute" name="url" field="url"/>

                  <value style="attribute" name="userName" field="userName"/>

                  <value style="attribute" name="password" field="password"/>

            </mapping>  

…          

</binding>

 

 

 

 

 Root Cause: No unmarshaller for element "binding" (line 7, col 73)

        at com.stc.stcdbeway.repository.impl.MappingFactory.unmarshal(MappingFac

tory.java:53)

        at com.stc.stcdbeway.repository.impl.StcdbObjectTypeDefinitionImpl.loadM

odelFromRepository(StcdbObjectTypeDefinitionImpl.java:341)

        at com.stc.stcdbeway.repository.impl.StcdbObjectTypeDefinitionImpl.creat

eDatabaseModel(StcdbObjectTypeDefinitionImpl.java:291)

        at com.stc.stcdbeway.repository.impl.StcdbObjectTypeDefinitionImpl.getTa

bles(StcdbObjectTypeDefinitionImpl.java:283)

        at com.stc.stcdbeway.wizard.StcdbOTDNode.addDBTableNodes(StcdbOTDNode.ja

va:171)

 

 

 

Reply via email to