Java版 - Problem on ANT,JAVA,JSP,JSPPrecompiler |
|
|
|
|
|
y*****n 发帖数: 48 | 1 When we finish the code development and testing on the development server, we
need to publish
these new changes from development server (testing) to production server
(www).
Apache ANT is used to do this publishing. When ANT is executed, ANT will
compile the JAVA codes to JAVA class files, then compile the JSP codes to JSP
class files, then transfer the these class files to www. The codes on the
testing server are intact and should work fine, then once we run ANT, the code
should be compiled and | w*r 发帖数: 2421 | 2 what is this?
[java] java.lang.NoSuchMethodError: org.apache.jasper.JspC.processFile
(Ljava/lang/String;)Z
^^^^^^^^^^^^^^^^^^^^
" target="_blank" class="a2">http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jasper/docs/api/org/apache/jasper/JspC.html#processFile(java.lang.String)
【在 y*****n 的大作中提到】 : When we finish the code development and testing on the development server, we : need to publish : these new changes from development server (testing) to production server : (www). : Apache ANT is used to do this publishing. When ANT is executed, ANT will : compile the JAVA codes to JAVA class files, then compile the JSP codes to JSP : class files, then transfer the these class files to www. The codes on the : testing server are intact and should work fine, then once we run ANT, the code : should be compiled and
| y*****n 发帖数: 48 | 3
不知道 :-( 我应该怎么查它啊.
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jasper/docs/api/org/apache/jas
per/JspC.html#processFile(java.lang.String)
we
JSP
code
following
itself
人留
unchecked
which
compiling
after I
followings:
【在 w*r 的大作中提到】 : what is this? : [java] java.lang.NoSuchMethodError: org.apache.jasper.JspC.processFile : (Ljava/lang/String;)Z : ^^^^^^^^^^^^^^^^^^^^ : " target="_blank" class="a2">http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jasper/docs/api/org/apache/jasper/JspC.html#processFile(java.lang.String)
| c**g 发帖数: 274 | 4 如果你原来编译成功现在不成功,唯一的可能就是你的环境变了,或者compiler或者
有dependency的其他package.
【在 y*****n 的大作中提到】 : When we finish the code development and testing on the development server, we : need to publish : these new changes from development server (testing) to production server : (www). : Apache ANT is used to do this publishing. When ANT is executed, ANT will : compile the JAVA codes to JAVA class files, then compile the JSP codes to JSP : class files, then transfer the these class files to www. The codes on the : testing server are intact and should work fine, then once we run ANT, the code : should be compiled and
| y*****n 发帖数: 48 | 5
怎么查这个dependency的package啊.谢谢
we
JSP
code
following
itself
人留
unchecked
which
compiling
after I
followings:
org.apache.tools.ant.taskdefs.Java.execute(Java.java:83)
org.apache.tools.ant.Target.performTasks(Target.java:369)
【在 c**g 的大作中提到】 : 如果你原来编译成功现在不成功,唯一的可能就是你的环境变了,或者compiler或者 : 有dependency的其他package.
|
|
|
|
|
|
|