Can't use the function from Upload bean

Hi, we're currently using UploadBean API to support our application's upload feature. However, we can't seem to install properly at our client's data centre which is running on Sun Solaris and Sun App Server 8.1. I've uploaded the 4 required jar files (i.e. uploadbean.jar, cos.jar, fileupload.jar, struts.jar) into the server, however the system still gives me error as follows:

[#|2007-09-28T16:38:54.402+0800|SEVERE|sun-appserver-ee8.1_02|javax.enterprise.system.container.web|_ThreadID=14;|StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
java.lang.NoClassDefFoundError: javax/servlet/ServletRequest

What could be the issue?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Sounds to me incomplete installation. sevlet-api.jar is missing.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
rospccAuthor Commented:
Is there any other related Jar files?
other jar you can look at is jsp-api.jar
Brian UtterbackPrinciple Software EngineerCommented:
Are you using TomCat? If so, check the $JAVA_HOME/jre/lib/ext directory, and remove the jar file from there. If TomCat finds a jar file in there, it has odd class loading rules designed to keep all of the applications separate,
so it will not look where the rest of the jar are. In fact, you can try moving all the jars from that directory to somewhere else, incase it doesn't work you can put them back. If it still doesn't work, trying putting the jars back there and also
adding the jar for your bean so they are all in $JAVA_HOME/jre/lib/ext.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.