This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 68
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: 68
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: 68
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: E SRVE0026E: [Servlet Error]
 
Similar Threads
setting classpath in WAS 5.0
Apache commons dbcp - SocketException: Too many open files
how to set connection size (dbcp)
Display tag problem
Deploying Commons DBCP