Using spring MVC in RAD 8.0 and Websphere 8.0 - spring-mvc

I get this error when I try to run a simple hello world application.
Any ideas as to what this error is?
org.springframework.web.servlet.DispatcherServlet was found, but is missing another required class. SRVE0206E: This error typically implies that the servlet was originally compiled with classes which cannot be located by the server. SRVE0187E: Check your class path to ensure that all classes required by the servlet are present.SRVE0210I: This problem can be debugged by recompiling the servlet using only the classes in the application's runtime class path SRVE0234I: Application class path=[G:\Program Files (x86)\IBM\WebSphere\AppServer\java\lib;G:\Program Files (x86)\IBM\WebSphere\AppServer\java\lib\dt.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\java\lib\htmlconverter.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\java\lib\ibmorbtools.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\java\lib\jconsole.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\java\lib\tools.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\profiles\AppSrv01\classes;G:\Program Files (x86)\IBM\WebSphere\AppServer\classes;G:\Program Files (x86)\IBM\WebSphere\AppServer\lib;G:\Program Files (x86)\IBM\WebSphere\AppServer\lib\EJBCommandTarget.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\lib\IVTClient.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\lib\OTiSConvertTime.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\lib\activation-impl.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\lib\admin.config.sched.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\lib\aspectjrt.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\lib\batch.wccm.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\lib\batchprops.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\lib\batchutilsfep.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\lib\batfepapi.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\lib\bootstrap.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\lib\bsf-engines.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\lib\commandlineutils.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\lib\commons-discovery.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\lib\databeans.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\lib\ffdcSupport.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\lib\htmlshell.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\lib\iscdeploy.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\lib\ivblogbr.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\lib\j2ee.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\lib\jNative2ascii.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\lib\jacl.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\lib\jrom.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\lib\launchclient.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\lib\lmproxy.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\lib\mail-impl.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\lib\openwebbeans.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\lib\pc-appext.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\lib\pmirm4arm.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\lib\rrd-appext.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\lib\rsadbutils.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\lib\rsahelpers.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\lib\serviceadapter.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\lib\setup.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\lib\startup.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\lib\tcljava.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\lib\urlprotocols.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\lib\wasservicecmd.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\lib\wses_dynaedge.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\lib\wsif-compatb.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\installedChannels;G:\Program Files (x86)\IBM\WebSphere\AppServer\web\help;G:\Program Files (x86)\IBM\WebSphere\AppServer\deploytool\itp\plugins\com.ibm.etools.ejbdeploy\runtime;G:\Program Files (x86)\IBM\WebSphere\AppServer\deploytool\itp\plugins\com.ibm.etools.ejbdeploy\runtime\batch.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\deploytool\itp\plugins\com.ibm.etools.ejbdeploy\runtime\ejbdeploy.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\deploytool\itp\plugins\com.ibm.etools.ejbdeploy\runtime\ejbmapvalidate.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\derby\lib\derby.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\installedConnectors\sib.api.jmsra.rar;G:\Program Files (x86)\IBM\WebSphere\AppServer\installedConnectors\wmq.jmsra.rar;G:\Program Files (x86)\IBM\WebSphere\AppServer\installedConnectors\wmq.jmsra.rar\com.ibm.mq.commonservices.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\installedConnectors\wmq.jmsra.rar\com.ibm.mq.connector.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\installedConnectors\wmq.jmsra.rar\com.ibm.mq.headers.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\installedConnectors\wmq.jmsra.rar\com.ibm.mq.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\installedConnectors\wmq.jmsra.rar\com.ibm.mq.jmqi.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\installedConnectors\wmq.jmsra.rar\com.ibm.mq.jmqi.local.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\installedConnectors\wmq.jmsra.rar\com.ibm.mq.jmqi.remote.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\installedConnectors\wmq.jmsra.rar\com.ibm.mq.jmqi.system.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\installedConnectors\wmq.jmsra.rar\com.ibm.mq.jms.admin.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\installedConnectors\wmq.jmsra.rar\com.ibm.mq.pcf.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\installedConnectors\wmq.jmsra.rar\com.ibm.mqjms.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\installedConnectors\wmq.jmsra.rar\com.ibm.msg.client.commonservices.j2se.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\installedConnectors\wmq.jmsra.rar\com.ibm.msg.client.commonservices.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\installedConnectors\wmq.jmsra.rar\com.ibm.msg.client.jms.internal.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\installedConnectors\wmq.jmsra.rar\com.ibm.msg.client.jms.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\installedConnectors\wmq.jmsra.rar\com.ibm.msg.client.matchspace.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\installedConnectors\wmq.jmsra.rar\com.ibm.msg.client.provider.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\installedConnectors\wmq.jmsra.rar\com.ibm.msg.client.ref.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\installedConnectors\wmq.jmsra.rar\com.ibm.msg.client.wmq.common.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\installedConnectors\wmq.jmsra.rar\com.ibm.msg.client.wmq.factories.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\installedConnectors\wmq.jmsra.rar\com.ibm.msg.client.wmq.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\installedConnectors\wmq.jmsra.rar\com.ibm.msg.client.wmq.v6.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\installedConnectors\wmq.jmsra.rar\dhbcore.jar;G:\db2jccdriver\db2jcc.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\universalDriver\lib\db2jcc_license_cu.jar;G:\db2jccdriver\db2jcc_license_cisuz.jar;G:\mssqldriver\sqljdbc_3.0\enu\sqljdbc4.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer\profiles\AppSrv01/properties;G:\Program Files (x86)\IBM\WebSphere\AppServer/properties;G:\Program Files (x86)\IBM\WebSphere\AppServer/lib/startup.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer/lib/bootstrap.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer/lib/jsf-nls.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer/lib/lmproxy.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer/lib/urlprotocols.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer/deploytool/itp/batchboot.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer/deploytool/itp/batch2.jar;G:\Program Files (x86)\IBM\WebSphere\AppServer/java/lib/tools.jar;G:\Projects\POC\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp1\ssopocWAR\WEB-INF\classes;G:\Projects\POC\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp1\ssopocWAR\WEB-INF\lib\aopalliance-1.0.jar;G:\Projects\POC\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp1\ssopocWAR\WEB-INF\lib\commons-logging-1.1.1.jar;G:\Projects\POC\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp1\ssopocWAR\WEB-INF\lib\jsp-api-2.0.jar;G:\Projects\POC\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp1\ssopocWAR\WEB-INF\lib\servlet-api-2.5.jar;G:\Projects\POC\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp1\ssopocWAR\WEB-INF\lib\spring-aop-3.2.0.RELEASE.jar;G:\Projects\POC\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp1\ssopocWAR\WEB-INF\lib\spring-beans-3.2.0.RELEASE.jar;G:\Projects\POC\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp1\ssopocWAR\WEB-INF\lib\spring-context-3.2.0.RELEASE.jar;G:\Projects\POC\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp1\ssopocWAR\WEB-INF\lib\spring-core-3.2.0.RELEASE.jar;G:\Projects\POC\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp1\ssopocWAR\WEB-INF\lib\spring-expression-3.2.0.RELEASE.jar;G:\Projects\POC\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp1\ssopocWAR\WEB-INF\lib\spring-webmvc-3.2.0.RELEASE.jar;G:\Projects\POC\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp1\ssopocWAR]

Related

how to dex2jar multiple Classess exist in apk

how to dex2jar multiple dex file in apk
You could dex2jar all the dex files manually
and then extracted with winrar or something else in one folder
then merge the resulting jar files to onefile with .jar extension (or zip)
now open file with jd-gui

How to put files in a folder and generate .zip file?

I want to generate a .zip file which contains some files and folders. The file inside the folder might be contained in some other paths and I want to put files in another folder and generate a .zip file from them.
By other words, I don't want to physically generate the folder with files. The files might be on some roots and I want to generate folder virtually to put them on the .zip file.
Imports System.IO.Compression
ZipFile.CreateFromDirectory("source","destination.zip",CompressionLevel.Optimal,False)
As an example if I have these files on my website:
- ~/files/image/1.jpg
- ~/files/pdf/2.pdf
- ~/intro.docx
I want to put them on a zip which when I extract it, the files will be as follows:
- ~/files/1.jpg
- ~/files/2.pdf
- ~/intro.docx
For the source put the root folder and it will do it
example :
This is yours
- ~/files/image/1.jpg
- ~/files/pdf/2.pdf
- ~/intro.docx
But before this there is a root folder whic is the ~ just simpily put as a source

Compile a folder with java classes into a JAR

I had a jar file paymentService.jar which had a lot of class files. I have decompiled a class file, made some changes to it's code and created a .java file. I have kept the .java file in the same location as .class file.
How can I recompile the .java file and then recreate a JAR of the folder.
I can't compile the .java file using javac /my/../example.java because imports will fail.

how to compile a java file which is in a jar and then re-create the jar

I have a jar file (Gestp.jar) . And I have some .Java files (which are web applications) within the jar file
I need to modify a particular .Java file . And then re-create the Jar file and deploy it in a server.
I have extracted the jar file , and did the modification to the .Java file. But unable to create the .class file with the changes , in eclipse as it is a web application.
Please help.
Thanks in advance,
Aditya.T

How do you include .java files and .html files in a .jar file when you take Clean and Build in Netbeans 7?

If you have files in the build/classes/folderToJar Netbeans7 takes the .class files and make a .jar file when you take Clean and Build.
But how can you have .java files and .html files go into the .jarfile as well?
First Create a package(Say html) under Source Packages
copy all of your html files to this package(when you create a package,a folder in the name of your package will be created inside your project src folder, so copy files to it)
You can access your html file from your program as
URL someURL = yourclass.class.getResource("/html/yourhtml.html");

Resources