Thanks for your reply. I changed it..

but now I get following exception , any help?



  | 10:57:10,470 INFO  [NativeServerConfig] 3.0.5.GA
  | 10:57:15,236 ERROR [AbstractKernelController] Error installing to Parse: 
name=vfsfile:/C:/software/jboss-5.0.1.GA/server/default/deploy/petclinic.war/ 
state=Not Installed mode=Manual requiredState=Parse
  | org.jboss.deployers.spi.DeploymentException: Error creating managed object 
for vfsfile:/C:/software/jboss-5.0.1.GA/server/default/deploy/petclinic.war/
  |     at 
org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
  |     at 
org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:337)
  |     at 
org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:297)
  |     at 
org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:269)
  |     at 
org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.deploy(AbstractParsingDeployerWithOutput.java:230)
  |     at 
org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
  |     at 
org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
  |     at 
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
  | 
  | .....
  | 
  |     at java.lang.Thread.run(Thread.java:595)
  | Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: 
cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can 
be found for element 'context:property-placeholder'. @ 
vfsfile:/C:/software/jboss-5.0.1.GA/server/default/deploy/petclinic.war/WEB-INF/applicationContext-hibernate.xml[18,70]
  |     at 
org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:203)
  |     at 
org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:168)
  |     at 
org.jboss.deployers.vfs.spi.deployer.JBossXBDeployerHelper.parse(JBossXBDeployerHelper.java:199)
  |     at 
org.jboss.deployers.vfs.spi.deployer.JBossXBDeployerHelper.parse(JBossXBDeployerHelper.java:170)
  |     at 
org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:132)
  |     at 
org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:118)
  |     at 
org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parseAndInit(AbstractVFSParsingDeployer.java:256)
  |     at 
org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parse(AbstractVFSParsingDeployer.java:239)
  |     at 
org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:330)
  |     ... 22 more
  | Caused by: org.xml.sax.SAXException: cvc-complex-type.2.4.c: The matching 
wildcard is strict, but no declaration can be found for element 
'context:property-placeholder'. @ 
vfsfile:/C:/software/jboss-5.0.1.GA/server/default/deploy/petclinic.war/WEB-INF/applicationContext-hibernate.xml[18,70]
  |     at 
org.jboss.xb.binding.parser.sax.SaxJBossXBParser$MetaDataErrorHandler.error(SaxJBossXBParser.java:426)
  |     at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
  |     at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
  |     at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
  |     at.......
  | 
  | 10:57:27,345 ERROR [ProfileServiceBootstrap] Failed to load profile: 
Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
  | 
  | DEPLOYMENTS IN ERROR:
  |   Deployment 
"vfsfile:/C:/software/jboss-5.0.1.GA/server/default/deploy/petclinic.war/" is 
in error due to the following reason(s): org.xml.sax.SAXException: 
cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can 
be found for element 'context:property-placeholder'. @ 
vfsfile:/C:/software/jboss-5.0.1.GA/server/default/deploy/petclinic.war/WEB-INF/applicationContext-hibernate.xml[18,70]
  | 
  | 10:57:27,361 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on 
http-localhost%2F127.0.0.1-8080
  | 
  | 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4221588#4221588

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4221588
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to