Redian新闻
>
Problem on ANT,JAVA,JSP,JSPPrecompiler
avatar
Problem on ANT,JAVA,JSP,JSPPrecompiler# Java - 爪哇娇娃
y*n
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
avatar
w*r
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

avatar
y*n
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)

avatar
c*g
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

avatar
y*n
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.

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。