WAS 6 部署WAR包报错

发布于 2021-11-13 00:14:49 字数 7571 浏览 806 评论 11

我的WAR包里有struts1,spring2.0的包,在JDK1.4 TOMCAT5下运行正常。但在WAS下直接报找不到struts1的ActionServlet!请大侠帮帮看看。这是什么问题。我第一次用WAS!

 

Error 404: SRVE0203E: Servlet [action]:找到 org.apache.struts.action.ActionServlet,但缺少另一个必需类。 SRVE0206E: 此错误通常意味着 servlet 最初是用服务器无法找到的类来编译的。 SRVE0187E: 检查您的类路径,以确保 servlet 需要的所有类都存在。SRVE0210I: 通过仅使用应用程序的运行时类路径中的类重新编译 servlet,可以调试此问题 SRVE0234I: 应用程序类路径=[C:IBMWebSphereAppServerjavalib;C:IBMWebSphereAppServerjavalibdt.jar;C:IBMWebSphereAppServerjavalibhtmlconverter.jar;C:IBMWebSphereAppServerjavalibtools.jar;C:IBMWebSphereAppServerprofilesAppSrv01classes;C:IBMWebSphereAppServerlib;C:IBMWebSphereAppServerlibAMJACCProvider.jar;C:IBMWebSphereAppServerlibDDParser5.jar;C:IBMWebSphereAppServerlibEJBCommandTarget.jar;C:IBMWebSphereAppServerlibIVTClient.jar;C:IBMWebSphereAppServerlibPDWASAuthzManager.jar;C:IBMWebSphereAppServerlibUDDICloudscapeCreate.jar;C:IBMWebSphereAppServerlibUDDIValueSetTools.jar;C:IBMWebSphereAppServerlibWebSealTAIwas6.jar;C:IBMWebSphereAppServerlibactivation-impl.jar;C:IBMWebSphereAppServerlibactivity.jar;C:IBMWebSphereAppServerlibactivityImpl.jar;C:IBMWebSphereAppServerlibactivitySession.jar;C:IBMWebSphereAppServerlibactivitySessionPrivate.jar;C:IBMWebSphereAppServerlibactivitySvrImpl.jar;C:IBMWebSphereAppServerlibacwa.jar;C:IBMWebSphereAppServerlibadmin.jar;C:IBMWebSphereAppServerlibadminJms.jar;C:IBMWebSphereAppServerlibadminPorts.jar;C:IBMWebSphereAppServerlibals.jar;C:IBMWebSphereAppServerlibanalysisEngine.jar;C:IBMWebSphereAppServerlibant.jar;C:IBMWebSphereAppServerlibappprofile-impl.jar;C:IBMWebSphereAppServerlibappprofile.jar;C:IBMWebSphereAppServerlibaspectjrt.jar;C:IBMWebSphereAppServerlibasynchbeans.jar;C:IBMWebSphereAppServerlibasynchbeansImpl.jar;C:IBMWebSphereAppServerlibbase.jar;C:IBMWebSphereAppServerlibbootstrap.jar;C:IBMWebSphereAppServerlibbsf.jar;C:IBMWebSphereAppServerlibccf.jar;C:IBMWebSphereAppServerlibccf2.jar;C:IBMWebSphereAppServerlibchannelfw.jar;C:IBMWebSphereAppServerlibchart.jar;C:IBMWebSphereAppServerlibclassloader.jar;C:IBMWebSphereAppServerlibclient.jar;C:IBMWebSphereAppServerlibcluster.jar;C:IBMWebSphereAppServerlibclusteradapter.jar;C:IBMWebSphereAppServerlibclusterctrl.jar;C:IBMWebSphereAppServerlibclusterprop.jar;C:IBMWebSphereAppServerlibclusterrouter.jar;C:IBMWebSphereAppServerlibclustertopo.jar;C:IBMWebSphereAppServerlibcm.jar;C:IBMWebSphereAppServerlibcmImpl.jar;C:IBMWebSphereAppServerlibcmInt.jar;C:IBMWebSphereAppServerlibcollector.jar;C:IBMWebSphereAppServerlibcom.ibm.mq.pcf.jar;C:IBMWebSphereAppServerlibcommonj-twm.jar;C:IBMWebSphereAppServerlibcommons-discovery.jar;C:IBMWebSphereAppServerlibcommons-el.jar;C:IBMWebSphereAppServerlibcommons-logging-api.jar;C:IBMWebSphereAppServerlibconfigmanager.jar;C:IBMWebSphereAppServerlibcoregroup.bridge.admin.jar;C:IBMWebSphereAppServerlibcoregroupbridge.jar;C:IBMWebSphereAppServerlibcscope.jar;C:IBMWebSphereAppServerlibcscopeImpl.jar;C:IBMWebSphereAppServerlibdatabeans.jar;C:IBMWebSphereAppServerlibdb2Interfaces.jar;C:IBMWebSphereAppServerlibdcs.jar;C:IBMWebSphereAppServerlibdebug.jar;C:IBMWebSphereAppServerlibdeployutils.jar;C:IBMWebSphereAppServerlibdistexcep.jar;C:IBMWebSphereAppServerlibdrs.jar;C:IBMWebSphereAppServerlibdwlmclient.jar;C:IBMWebSphereAppServerlibdynacache.jar;C:IBMWebSphereAppServerlibeablib.jar;C:IBMWebSphereAppServerlibecutils.jar;C:IBMWebSphereAppServerlibejbcontainer.jar;C:IBMWebSphereAppServerlibejbcontainerImpl.jar;C:IBMWebSphereAppServerlibejbportable.jar;C:IBMWebSphereAppServerlibemf.jar;C:IBMWebSphereAppServerlibepm.jar;C:IBMWebSphereAppServerlibesi.jar;C:IBMWebSphereAppServerlibextensions.jar;C:IBMWebSphereAppServerlibexthelper.jar;C:IBMWebSphereAppServerlibexthelperimpl.jar;C:IBMWebSphereAppServerlibfeaturereg.jar;C:IBMWebSphereAppServerlibffdc.jar;C:IBMWebSphereAppServerlibffdcSupport.jar;C:IBMWebSphereAppServerlibfiletransfer.jar;C:IBMWebSphereAppServerlibhamanager.jar;C:IBMWebSphereAppServerlibhamanageradmin.jar;C:IBMWebSphereAppServerlibhamanagerimpl.jar;C:IBMWebSphereAppServerlibhandlerfw.jar;C:IBMWebSphereAppServerlibhandlerfwimpl.jar;C:IBMWebSphereAppServerlibhandlerfwservice.jar;C:IBMWebSphereAppServerlibhtmlshell.jar;C:IBMWebSphereAppServerlibhttplogging.jar;C:IBMWebSphereAppServerlibhttpsession.jar;C:IBMWebSphereAppServerlibhttpsessiondb.jar;C:IBMWebSphereAppServerlibhttpsessionmtm.jar;C:IBMWebSphereAppServerlibi18nctx.jar;C:IBMWebSphereAppServerlibicu4j_3_2.jar;C:IBMWebSphereAppServerlibidl.jar;C:IBMWebSphereAppServerlibinstallver.jar;C:IBMWebSphereAppServerlibiscdeploy.jar;C:IBMWebSphereAppServerlibivblogbr.jar;C:IBMWebSphereAppServerlibivjbase.jar;C:IBMWebSphereAppServerlibivjejb35.jar;C:IBMWebSphereAppServerlibiwsorb.jar;C:IBMWebSphereAppServerlibj2c.jar;C:IBMWebSphereAppServerlibj2cImpl.jar;C:IBMWebSphereAppServerlibj2cIntf.jar;C:IBMWebSphereAppServerlibj2ee.jar;C:IBMWebSphereAppServerlibjaaslogin.jar;C:IBMWebSphereAppServerlibjacl.jar;C:IBMWebSphereAppServerlibjaxruddi.jar;C:IBMWebSphereAppServerlibjdbcmediator.jar;C:IBMWebSphereAppServerlibjdom.jar;C:IBMWebSphereAppServerlibjrom.jar;C:IBMWebSphereAppServerlibjs.jar;C:IBMWebSphereAppServerlibjsf-api.jar;C:IBMWebSphereAppServerlibjspcore.jar;C:IBMWebSphereAppServerlibjspruntime.jar;C:IBMWebSphereAppServerlibjsptranslation.jar;C:IBMWebSphereAppServerlibjspvisitor.jar;C:IBMWebSphereAppServerlibjstl.jar;C:IBMWebSphereAppServerlibjtaPrivate.jar;C:IBMWebSphereAppServerlibjtsPrivate.jar;C:IBMWebSphereAppServerliblhttpchannel.jar;C:IBMWebSphereAppServerliblhttpchannelimpl.jar;C:IBMWebSphereAppServerliblmproxy.jar;C:IBMWebSphereAppServerliblogbrjface.jar;C:IBMWebSphereAppServerliblogutil.jar;C:IBMWebSphereAppServerlibltext.jar;C:IBMWebSphereAppServerlibmail-impl.jar;C:IBMWebSphereAppServerlibmanagement.jar;C:IBMWebSphereAppServerlibmarshall.jar;C:IBMWebSphereAppServerlibmejb.jar;C:IBMWebSphereAppServerlibmessaging.jar;C:IBMWebSphereAppServerlibmessagingClient.jar;C:IBMWebSphereAppServerlibmessagingImpl.jar;C:IBMWebSphereAppServerlibmigrate.jar;C:IBMWebSphereAppServerlibnaming.jar;C:IBMWebSphereAppServerlibnamingclient.jar;C:IBMWebSphereAppServerlibnamingserver.jar;C:IBMWebSphereAppServerlibnls.jar;C:IBMWebSphereAppServerlibnlsres.jar;C:IBMWebSphereAppServerlibnotifications.jar;C:IBMWebSphereAppServerlibobjectpool.jar;C:IBMWebSphereAppServerlibobjectpoolimpl.jar;C:IBMWebSphereAppServerlibodc.jar;C:IBMWebSphereAppServerliboptional.jar;C:IBMWebSphereAppServerlibpagelist.jar;C:IBMWebSphereAppServerlibperftuning.jar;C:IBMWebSphereAppServerlibphysicalrep.jar;C:IBMWebSphereAppServerlibpluginconfig.jar;C:IBMWebSphereAppServerlibpm.jar;C:IBMWebSphereAppServerlibpmi.jar;C:IBMWebSphereAppServerlibpmiclient.jar;C:IBMWebSphereAppServerlibpmij2ee.jar;C:IBMWebSphereAppServerlibpmimpl.jar;C:IBMWebSphereAppServerlibpmirm-sib.jar;C:IBMWebSphereAppServerlibpmirm.jar;C:IBMWebSphereAppServerlibprocessintf.jar;C:IBMWebSphereAppServerlibprocessmgmt.jar;C:IBMWebSphereAppServerlibproxy.admin.jar;C:IBMWebSphereAppServerlibproxy.jar;C:IBMWebSphereAppServerlibproxyimpl.jar;C:IBMWebSphereAppServerlibproxyserver.jar;C:IBMWebSphereAppServerlibproxyucf.jar;C:IBMWebSphereAppServerlibqryclient.jar;C:IBMWebSphereAppServerlibquery.jar;C:IBMWebSphereAppServerlibquerymd.jar;C:IBMWebSphereAppServerlibqueryws.jar;C:IBMWebSphereAppServerlibras.jar;C:IBMWebSphereAppServerlibrbpf.jar;C:IBMWebSphereAppServerlibrecjava.jar;C:IBMWebSphereAppServerlibreclog.jar;C:IBMWebSphereAppServerlibreclogImpl.jar;C:IBMWebSphereAppServerlibrmm-pgm.jar;C:IBMWebSphereAppServerlibrsadaptercci.jar;C:IBMWebSphereAppServerlibrsadapterspi.jar;C:IBMWebSphereAppServerlibrsaexternal

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(11

一人独醉 2021-11-17 09:24:07

很奇怪,哪为什么TOMCAT可以运行

一人独醉 2021-11-17 09:22:47

我试了下把WAS下的另一下项目所有的包都拿到我这来就行了,所以应该是少包

如日中天 2021-11-17 09:20:26

我记得was可以设定load的优先级的,一般要设成load自己的jar包优先

飘然心甜 2021-11-17 08:42:05

servlet-api和WAS的重了?或者在源码里使用was的这个jar来编译然后打包时去掉

无法言说的痛 2021-11-17 08:28:23

不知道还缺什么包,很郁闷

秋意浓 2021-11-17 07:47:49

j2c.jar;C:IBMWebSphereAppServerlibwsif.jar;C:IBMWebSphereAppServerlibwsprofile.jar;C:IBMWebSphereAppServerlibwssec.jar;C:IBMWebSphereAppServerlibwssoap.jar;C:IBMWebSphereAppServerlibwstp.jar;C:IBMWebSphereAppServerlibxdi.jar;C:IBMWebSphereAppServerlibxmlsecurity.jar;C:IBMWebSphereAppServerinstalledChannels;C:IBMWebSphereAppServerinstalledChannelschannel.hamanager.jar;C:IBMWebSphereAppServerinstalledChannelschannel.http.jar;C:IBMWebSphereAppServerinstalledChannelschannel.httptunnel.jar;C:IBMWebSphereAppServerinstalledChannelschannel.jfap.jar;C:IBMWebSphereAppServerinstalledChannelschannel.mqfap.jar;C:IBMWebSphereAppServerinstalledChannelschannel.proxy.jar;C:IBMWebSphereAppServerinstalledChannelschannel.soap.jar;C:IBMWebSphereAppServerinstalledChannelschannel.ssl.jar;C:IBMWebSphereAppServerinstalledChannelschannel.tcp.jar;C:IBMWebSphereAppServerinstalledChannelschannel.webcontainer.jar;C:IBMWebSphereAppServerwebhelp;C:IBMWebSphereAppServerdeploytoolitppluginscom.ibm.etools.ejbdeployruntime;C:IBMWebSphereAppServerdeploytoolitppluginscom.ibm.etools.ejbdeployruntimebatch.jar;C:IBMWebSphereAppServerdeploytoolitppluginscom.ibm.etools.ejbdeployruntimeejbdeploy.jar;C:IBMWebSphereAppServerdeploytoolitppluginscom.ibm.etools.ejbdeployruntimeejbmapvalidate.jar;C:IBMWebSphereAppServerlibWMQjavalib;C:IBMWebSphereAppServerlibWMQjavalibcom.ibm.mq.jar;C:IBMWebSphereAppServerlibWMQjavalibcom.ibm.mqjms.jar;C:IBMWebSphereAppServerlibrsadapter.rar;C:IBMWebSphereAppServercloudscapelibdb2j.jar;C:IBMWebSphereAppServerinstalledConnectorssib.api.jmsra.rar;C:IBMWebSphereAppServer/profiles/AppSrv01/properties;C:IBMWebSphereAppServer/properties;C:IBMWebSphereAppServer/lib/bootstrap.jar;C:IBMWebSphereAppServer/lib/j2ee.jar;C:IBMWebSphereAppServer/lib/lmproxy.jar;C:IBMWebSphereAppServer/lib/urlprotocols.jar;C:IBMWebSphereAppServerprofilesAppSrv01installedAppsDZQD-WINDOWS02Node01Cellzhengqi2_war.earzhengqi2.warWEB-INFclasses;C:IBMWebSphereAppServerprofilesAppSrv01installedAppsDZQD-WINDOWS02Node01Cellzhengqi2_war.earzhengqi2.warWEB-INFlibbcprov-jdk14-147.jar;C:IBMWebSphereAppServerprofilesAppSrv01installedAppsDZQD-WINDOWS02Node01Cellzhengqi2_war.earzhengqi2.warWEB-INFlibclasses12.jar;C:IBMWebSphereAppServerprofilesAppSrv01installedAppsDZQD-WINDOWS02Node01Cellzhengqi2_war.earzhengqi2.warWEB-INFlibcommons-beanutils.jar;C:IBMWebSphereAppServerprofilesAppSrv01installedAppsDZQD-WINDOWS02Node01Cellzhengqi2_war.earzhengqi2.warWEB-INFlibcommons-digester.jar;C:IBMWebSphereAppServerprofilesAppSrv01installedAppsDZQD-WINDOWS02Node01Cellzhengqi2_war.earzhengqi2.warWEB-INFlibcommons-fileupload.jar;C:IBMWebSphereAppServerprofilesAppSrv01installedAppsDZQD-WINDOWS02Node01Cellzhengqi2_war.earzhengqi2.warWEB-INFlibcommons-logging-1.1.1.jar;C:IBMWebSphereAppServerprofilesAppSrv01installedAppsDZQD-WINDOWS02Node01Cellzhengqi2_war.earzhengqi2.warWEB-INFlibcommons-validator.jar;C:IBMWebSphereAppServerprofilesAppSrv01installedAppsDZQD-WINDOWS02Node01Cellzhengqi2_war.earzhengqi2.warWEB-INFlibdom4j-1.6.1.jar;C:IBMWebSphereAppServerprofilesAppSrv01installedAppsDZQD-WINDOWS02Node01Cellzhengqi2_war.earzhengqi2.warWEB-INFlibibatis-2.3.0.677.jar;C:IBMWebSphereAppServerprofilesAppSrv01installedAppsDZQD-WINDOWS02Node01Cellzhengqi2_war.earzhengqi2.warWEB-INFlibjakarta-oro.jar;C:IBMWebSphereAppServerprofilesAppSrv01installedAppsDZQD-WINDOWS02Node01Cellzhengqi2_war.earzhengqi2.warWEB-INFliblog4j-1.2.15.jar;C:IBMWebSphereAppServerprofilesAppSrv01installedAppsDZQD-WINDOWS02Node01Cellzhengqi2_war.earzhengqi2.warWEB-INFlibproxool-0.9.0RC2.jar;C:IBMWebSphereAppServerprofilesAppSrv01installedAppsDZQD-WINDOWS02Node01Cellzhengqi2_war.earzhengqi2.warWEB-INFlibrsaverify.jar;C:IBMWebSphereAppServerprofilesAppSrv01installedAppsDZQD-WINDOWS02Node01Cellzhengqi2_war.earzhengqi2.warWEB-INFlibservlet-api.jar;C:IBMWebSphereAppServerprofilesAppSrv01installedAppsDZQD-WINDOWS02Node01Cellzhengqi2_war.earzhengqi2.warWEB-INFlibspring.jar;C:IBMWebSphereAppServerprofilesAppSrv01installedAppsDZQD-WINDOWS02Node01Cellzhengqi2_war.earzhengqi2.warWEB-INFlibstruts.jar;C:IBMWebSphereAppServerprofilesAppSrv01installedAppsDZQD-WINDOWS02Node01Cellzhengqi2_war.earzhengqi2.war]

柠檬 2021-11-17 06:32:53

从你的异常信息来看,你的类路径中都没有这些包,jar有,但不一定编译就能找到,仔细查看你WAS的项目配置吧!

毁梦 2021-11-17 05:13:22

大侠么看看我的WAR包中的JAR

复古式 2021-11-17 02:08:32

不可能是这两个啊,这两个 was 里也有

惜醉颜 2021-11-16 17:22:03

给项目或者WAS加入tomcat目录lib下的这2个jar包试下:

  1. jsp-api.jar
  2. servlet-api.jar
夜司空 2021-11-15 07:23:29

估计缺少了 struts 需要的某个 jar 包, 这个包可能在 tomcat 中是自带的,因此在 tomcat 中没问题,这需要你认真检查下了

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文