java.lang.ClassNotFoundException - org.openrdf.repository.config.RepositoryConfigException in JSF

StackOverflow https://stackoverflow.com/questions/21074000

문제

I am trying to run a JSF application on Tomcat 6 which is only for connecting to the Sesame repository. I added all the external Jar files needed for Sesame and the the project is created as Dynamic Web Project for JSF. I also configured everything for JSF by following some tutorials. In Eclipse, I export the WAR file to deploy it on Tomcat 6 as follows:

Right-click on the project -> Export -> WAR file. 

The WAR file is stored in webapps folder in Tomcat. When I insert the URL: http://localhost:8080/JSFSesame/faces/index.jsp, I get the following message:

An Error Occurred:
org/openrdf/repository/config/RepositoryConfigException

Caused by:
java.lang.ClassNotFoundException - org.openrdf.repository.config.RepositoryConfigException

I do not know what is missing at this point. It seems like I need to add JAR files that I am not aware of. Could anyone please assist me to solve this problem? Your help would be very much appreciated.

도움이 되었습니까?

해결책

The Class RepositoryConfigException is missing. It is e.g. part of the following JAR sesame-repository-api-2.5.0.jar. Alternatively use Ctrl+Shift+H in eclipse and look, fro which jar it is retrieved from there - copy the jar.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top