File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes E SRVE0026E: [Servlet Error] Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "E SRVE0026E: [Servlet Error]" Watch "E SRVE0026E: [Servlet Error]" New topic
Author

E SRVE0026E: [Servlet Error]

Mahesh Bamane
Ranch Hand

Joined: Mar 12, 2008
Posts: 66
Hi,

I am developing a small web application using struts as framework.

Whenever I test the login screen I get the following exception:

E SRVE0026E: [Servlet Error]-[org/apache/commons/dbcp/BasicDataSource]: java.lang.NoClassDefFoundError: org/apache/commons/dbcp/BasicDataSource

I have included all the necessary jar files in the library.
I searched for every possible error in code.
But I didn't find anything wrong in it.

Please suggest.
Thanks in advance.


There is nothing like trying, either you do it or you don't.
SCJP 1.5
Mahesh Bamane
Ranch Hand

Joined: Mar 12, 2008
Posts: 66
i resolved that error now i am getting:

Cannot load JDBC driver class 'oracle.jdbc.driver.OracleDriver'

please help
Aniruddh Joshi
Ranch Hand

Joined: Jul 29, 2008
Posts: 275

have you added classes111.jar ??


Anrd
"One of the best things you could do is to simplify a larger application into a smaller one by reducing its process and complexity - Fowler"
Mahesh Bamane
Ranch Hand

Joined: Mar 12, 2008
Posts: 66
yes i have added the class12.zip...
but still it is giving me the same error.
Aniruddh Joshi
Ranch Hand

Joined: Jul 29, 2008
Posts: 275

add classes111.jar as well
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: E SRVE0026E: [Servlet Error]
 
Similar Threads
Deploying Commons DBCP
how to set connection size (dbcp)
setting classpath in WAS 5.0
Apache commons dbcp - SocketException: Too many open files
Display tag problem