struts-关于创立MVC框架文件是的失实,不解

图片 1

smartUpload上儎不符合规律求教
作者再本机tomcat中能够实例化com.jspsmart.upload.斯马特Upload
但在服务器weblogic中就报错!为啥
似是而非大意如下:
probably occurred due to an error in /ME/upload.jsp line 5:
com.jspsmart.upload.SmartUpload myUpload = new
com.jspsmart.upload.SmartUpload();

关于创设MVC框架文件是的大谬不然,不解
自家创立的醒目时web project,可MVC就说不是,请指教

classpath:org/codehaus/xfire/spring/xfire.xml,/WEB-INF/applicationContext.xml

mklink /J “D:\project\b2c-frontend\web\upload”
“D:\project\b2c-backend\web\upload”

Full compiler error:
/bea/user_projects/domains/sasdomain/./SASManagedServer/.wlnotdelete/extract/SASManagedServer_wime0812_mart_me/jsp_servlet/_me/__upload.java:125:
???? com.jspsmart.upload.SmartUpload
??????/bea/user_projects/domains/sasdomain/SASManagedServer/.wlnotdelete/extract/SASManagedServer_wime0812_mart_me/jarfiles/WEB-INF/lib/jsmartcom_zh_CN17982.jar(com/jspsmart/upload/SmartUpload.class)
????????? 49.0, ??? 48.0
????????????? classpath ?????.
com.jspsmart.upload.SmartUpload myUpload = new
com.jspsmart.upload.SmartUpload(); //[ /ME/upload.jsp; Line: 5]
[b]标题补充:[/b]
难题是大家用的都以那些啊
但为啥本身写的在weblogic就报错误啊。它怎么老是说com.jspsmart.upload.斯玛特Upload
myUpload = new com.jspsmart.upload.斯马特Upload(State of Qatar;有标题啊
是本身这几个jar包未有导入吗?笔者导了啊放在web-inf的lib里了哟
[b]标题补充:[/b]
男子们啊 程序卡到这了下不去了啊

[b]难点补充:[/b]
本身新手了,什么是热陈设啊。可是作者那样成立MVC框剪文件后,结果是无法创立新的web.xml文件

[img]/upload/attachment/92394/18c013a6-3f11-3618-b855-bf1c4842463f.jpg[/img]

作品由爱资料原创本文地址:

[img]/upload/attachment/88728/8db39fd3-43fe-3eec-9209-847124ff9e1f.jpg[/img]

[img]/upload/attachment/92236/b0faf548-b7fd-3aa6-8556-876e9220b042.jpg[/img]

末尾是供给链接到的目录

[b]难题补充:[/b]
已修改weblogic.xml:
<?xml version=”1.0″ encoding=”UTF-8″?>

contextConfigLocation

疏解掉,就报上面包车型大巴错:(当时,就因为这么些缘故,小编才增加了那几个代码)
2009-4-9 9:44:15
org.springframework.context.support.AbstractApplicationContext
initMessageSource
信息: Unable to locate MessageSource with name ‘messageSource’: using
default
[org.springframework.context.support.DelegatingMessageSource@200309]
[b]主题素材补充:[/b]
相像的是以此连串,发布到tomcat5.5,调控台不奇怪。
自己是用XFire的Servlet宣布WS的,笔者是参照了myeclipse 里的Help->MyEclipse
learning Center->Web SErvices Development->Getting
Started->Code-First Web Services
Tutorial,也大量地在网络找了不菲材料
[b]主题素材补充:[/b]
本身调整台未有报那些错:java.lang.ClassNotFoundException
其余:我用weblogic自带的JDK1.5.04和本身本人的JDK1.5.05,效果都以同等的
[b]难点补充:[/b]
我是用myEclipse部署的weblogic9.
我在WEB-INF下的webligic.xml的内容:
<?xml version=”1.0″ encoding=”UTF-8″?>

}

用xfixe开荒webservice服务端,公布到weblogic9.1 调控台报错
而发表到tomcat5.5能够的
本条主题材料已干扰本身四天了。
付出条件:myeclipse6.0.1(用向导XFire1.2 Core
Libraries+spring-1.2.6jar卡塔尔+jdk1.5+weblogic9.1
工程lib下已加了webservices.jar和weblogic.jar
其中:

webapp.encoding.default
UTF-8

classpath:org/codehaus/xfire/spring/xfire.xml,/WEB-INF/applicationContext.xml

javax.jws.*
org.apache.xerces.*
org.apache.xalan.*

发表评论

电子邮件地址不会被公开。 必填项已用*标注