aspose file tools*
The moose likes JBoss/WildFly and the fly likes Provider for javax.xml.parsers.DocumentBuilderFactory cannot be found Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Provider for javax.xml.parsers.DocumentBuilderFactory cannot be found" Watch "Provider for javax.xml.parsers.DocumentBuilderFactory cannot be found" New topic
Author

Provider for javax.xml.parsers.DocumentBuilderFactory cannot be found

dilan alex
Greenhorn

Joined: Sep 17, 2011
Posts: 27
Hi All,

I'm running Spring project in Jboss 5.0. I built the project from Maven and copied .war file to the deploy directory.
When server is starting Following error is printed in server log.



I did lot of things to get rid of this error. But could not solve it.
Do anyone here have any idea ???

Regards,
Dil.
dilan alex
Greenhorn

Joined: Sep 17, 2011
Posts: 27
Hi All,

I spot the issue and I still find the reason why this all.

First I removed codes and compile and then run. At one point project compiled and deployed successfully in Jboss.
I could start jboss without any error message(specially above mentioned message).
What I found is in my POM.xml I have dependency for Hibernate like this



When I removed this dependency from POM.xml everything worked fine. No errors in server startup.
But Still Im finding the reason and this details might help to someone.

Regards,
Dilan.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Provider for javax.xml.parsers.DocumentBuilderFactory cannot be found