如何重新加载我的类,以便这个堆栈跟踪将消失?

时间:2012-05-14 08:28:16

标签: java jsp java-ee websphere ibm-rad

我有一个非常奇怪的错误。这是来自应用程序服务器(websphere 8)的堆栈跟踪:

JSPG0049E: /arendeprocess_grunduppgifter_visa.jsp failed to compile : JSPG0225E: An error occurred at line: 7 in the statically included file: /includes/arendeprocess_card_header_inc.jsp JSPG0093E: Generated servlet error from file: /arendeprocess_grunduppgifter_visa.jsp C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv1\temp\PRVSTHV1510Node01\server1\PandoraArendeEar\PandoraArendeWeb.war\_arendeprocess_5F_grunduppgifter_5F_visa.java : 446 : The method isRo() is undefined for the type AnsokanInfo JSPG0225E: An error occurred at line: 8 in the statically included file: /includes/arendeprocess_card_header_inc.jsp JSPG0093E: Generated servlet error from file: /arendeprocess_grunduppgifter_visa.jsp C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv1\temp\PRVSTHV1510Node01\server1\PandoraArendeEar\PandoraArendeWeb.war\_arendeprocess_5F_grunduppgifter_5F_visa.java : 450 : The method isIsa() is undefined for the type AnsokanInfo JSPG0225E: An error occurred at line: 9 in the statically included file: /includes/arendeprocess_card_header_inc.jsp JSPG0093E: Generated servlet error from file: /arendeprocess_grunduppgifter_visa.jsp C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv1\temp\PRVSTHV1510Node01\server1\PandoraArendeEar\PandoraArendeWeb.war\_arendeprocess_5F_grunduppgifter_5F_visa.java : 454 : The method isIpea() is undefined for the type AnsokanInfo JSPG0225E: An error occurred at line: 10 in the statically included file: /includes/arendeprocess_card_header_inc.jsp JSPG0093E: Generated servlet error from file: /arendeprocess_grunduppgifter_visa.jsp C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv1\temp\PRVSTHV1510Node01\server1\PandoraArendeEar\PandoraArendeWeb.war\_arendeprocess_5F_grunduppgifter_5F_visa.java : 458 : The method isIsa() is undefined for the type AnsokanInfo 

对于另一个JSP页面的类似问题,它不会加载新添加的方法:

JSPG0049E: /arendeprocess_grunduppgifter.jsp failed to compile : JSPG0091E: An error occurred at line: 410 in the file: /arendeprocess_grunduppgifter.jsp JSPG0093E: Generated servlet error from file: /arendeprocess_grunduppgifter.jsp C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv1\temp\PRVSTHV1510Node01\server1\PandoraArendeEar\PandoraArendeWeb.war\_arendeprocess_5F_grunduppgifter.java : 682 : PandoraFieldConstants.LABEL_FORNAMN cannot be resolved JSPG0091E: An error occurred at line: 414 in the file: /arendeprocess_grunduppgifter.jsp JSPG0093E: Generated servlet error from file: /arendeprocess_grunduppgifter.jsp C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv1\temp\PRVSTHV1510Node01\server1\PandoraArendeEar\PandoraArendeWeb.war\_arendeprocess_5F_grunduppgifter.java : 690 : PandoraFieldConstants.LABEL_EFTERNAMN cannot be resolved JSPG0091E: An error occurred at line: 428 in the file: /arendeprocess_grunduppgifter.jsp JSPG0093E: Generated servlet error from file: /arendeprocess_grunduppgifter.jsp C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv1\temp\PRVSTHV1510Node01\server1\PandoraArendeEar\PandoraArendeWeb.war\_arendeprocess_5F_grunduppgifter.java : 700 : PandoraFieldConstants.LABEL_FORETAG cannot be resolved JSPG0091E: An error occurred at line: 431 in the file: /arendeprocess_grunduppgifter.jsp JSPG0093E: Generated servlet error from file: /arendeprocess_grunduppgifter.jsp C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv1\temp\PRVSTHV1510Node01\server1\PandoraArendeEar\PandoraArendeWeb.war\_arendeprocess_5F_grunduppgifter.java : 708 : PandoraFieldConstants.LABEL_ORGNUMMER cannot be resolved JSPG0091E: An error occurred at line: 439 in the file: /arendeprocess_grunduppgifter.jsp JSPG0093E: Generated servlet error from file: /arendeprocess_grunduppgifter.jsp C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv1\temp\PRVSTHV1510Node01\server1\PandoraArendeEar\PandoraArendeWeb.war\_arendeprocess_5F_grunduppgifter.java : 716 : PandoraFieldConstants.LABEL_ATTENTION cannot be resolved JSPG0091E: An error occurred at line: 442 in the file: /arendeprocess_grunduppgifter.jsp JSPG0093E: Generated servlet error from file: /arendeprocess_grunduppgifter.jsp C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv1\temp\PRVSTHV1510Node01\server1\PandoraArendeEar\PandoraArendeWeb.war\_arendeprocess_5F_grunduppgifter.java : 724 : PandoraFieldConstants.LABEL_POSTADRESS cannot be resolved JSPG0091E: An error occurred at line: 445 in the file: /arendeprocess_grunduppgifter.jsp JSPG0093E: Generated servlet error from file: /arendeprocess_grunduppgifter.jsp C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv1\temp\PRVSTHV1510Node01\server1\PandoraArendeEar\PandoraArendeWeb.war\_arendeprocess_5F_grunduppgifter.java : 732 : PandoraFieldConstants.LABEL_POSTNR cannot be resolved JSPG0091E: An error occurred at line: 448 in the file: /arendeprocess_grunduppgifter.jsp JSPG0093E: Generated servlet error from file: /arendeprocess_grunduppgifter.jsp C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv1\temp\PRVSTHV1510Node01\server1\PandoraArendeEar\PandoraArendeWeb.war\_arendeprocess_5F_grunduppgifter.java : 740 : PandoraFieldConstants.LABEL_POSTORT cannot be resolved JSPG0091E: An error occurred at line: 451 in the file: /arendeprocess_grunduppgifter.jsp JSPG0093E: Generated servlet error from file: /arendeprocess_grunduppgifter.jsp C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv1\temp\PRVSTHV1510Node01\server1\PandoraArendeEar\PandoraArendeWeb.war\_arendeprocess_5F_grunduppgifter.java : 748 : PandoraFieldConstants.LABEL_LANDKOD cannot be resolved JSPG0091E: An error occurred at line: 497 in the file: /arendeprocess_grunduppgifter.jsp JSPG0093E: Generated servlet error from file: /arendeprocess_grunduppgifter.jsp C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv1\temp\PRVSTHV1510Node01\server1\PandoraArendeEar\PandoraArendeWeb.war\_arendeprocess_5F_grunduppgifter.java : 799 : PandoraFieldConstants.LABEL_TEL cannot be resolved JSPG0091E: An error occurred at line: 500 in the file: /arendeprocess_grunduppgifter.jsp JSPG0093E: Generated servlet error from file: /arendeprocess_grunduppgifter.jsp C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv1\temp\PRVSTHV1510Node01\server1\PandoraArendeEar\PandoraArendeWeb.war\_arendeprocess_5F_grunduppgifter.java : 807 : PandoraFieldConstants.LABEL_FAX cannot be resolved JSPG0091E: An error occurred at line: 503 in the file: /arendeprocess_grunduppgifter.jsp JSPG0093E: Generated servlet error from file: /arendeprocess_grunduppgifter.jsp C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv1\temp\PRVSTHV1510Node01\server1\PandoraArendeEar\PandoraArendeWeb.war\_arendeprocess_5F_grunduppgifter.java : 815 : PandoraFieldConstants.LABEL_EPOST cannot be resolved JSPG0091E: An error occurred at line: 506 in the file: /arendeprocess_grunduppgifter.jsp JSPG0093E: Generated servlet error from file: /arendeprocess_grunduppgifter.jsp C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv1\temp\PRVSTHV1510Node01\server1\PandoraArendeEar\PandoraArendeWeb.war\_arendeprocess_5F_grunduppgifter.java : 823 : PandoraFieldConstants.LABEL_REFERENS cannot be resolved JSPG0091E: An error occurred at line: 510 in the file: /arendeprocess_grunduppgifter.jsp JSPG0093E: Generated servlet error from file: /arendeprocess_grunduppgifter.jsp C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv1\temp\PRVSTHV1510Node01\server1\PandoraArendeEar\PandoraArendeWeb.war\_arendeprocess_5F_grunduppgifter.java : 833 : PandoraFieldConstants.LABEL_SOKANDE_I cannot be resolved JSPG0091E: An error occurred at line: 526 in the file: /arendeprocess_grunduppgifter.jsp JSPG0093E: Generated servlet error from file: /arendeprocess_grunduppgifter.jsp C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv1\temp\PRVSTHV1510Node01\server1\PandoraArendeEar\PandoraArendeWeb.war\_arendeprocess_5F_grunduppgifter.java : 859 : PandoraFieldConstants.FIELD_SOKANDE_I_LAND cannot be resolved JSPG0091E: An error occurred at line: 562 in the file: /arendeprocess_grunduppgifter.jsp JSPG0093E: Generated servlet error from file: /arendeprocess_grunduppgifter.jsp C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv1\temp\PRVSTHV1510Node01\server1\PandoraArendeEar\PandoraArendeWeb.war\_arendeprocess_5F_grunduppgifter.java : 887 : The method getFormattedAdress() is undefined for the type PersonInfo JSPG0091E: An error occurred at line: 563 in the file: /arendeprocess_grunduppgifter.jsp JSPG0093E: Generated servlet error from file: /arendeprocess_grunduppgifter.jsp C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv1\temp\PRVSTHV1510Node01\server1\PandoraArendeEar\PandoraArendeWeb.war\_arendeprocess_5F_grunduppgifter.java : 889 : The method getFormattedReferens() is undefined for the type PersonInfo JSPG0091E: An error occurred at line: 583 in the file: /arendeprocess_grunduppgifter.jsp JSPG0093E: Generated servlet error from file: /arendeprocess_grunduppgifter.jsp C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv1\temp\PRVSTHV1510Node01\server1\PandoraArendeEar\PandoraArendeWeb.war\_arendeprocess_5F_grunduppgifter.java : 917 : The method getFormattedAdress() is undefined for the type PersonInfo JSPG0091E: An error occurred at line: 584 in the file: /arendeprocess_grunduppgifter.jsp JSPG0093E: Generated servlet error from file: /arendeprocess_grunduppgifter.jsp C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv1\temp\PRVSTHV1510Node01\server1\PandoraArendeEar\PandoraArendeWeb.war\_arendeprocess_5F_grunduppgifter.java : 919 : The method getFormattedReferens() is undefined for the type PersonInfo JSPG0091E: An error occurred at line: 614 in the file: /arendeprocess_grunduppgifter.jsp JSPG0093E: Generated servlet error from file: /arendeprocess_grunduppgifter.jsp C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv1\temp\PRVSTHV1510Node01\server1\PandoraArendeEar\PandoraArendeWeb.war\_arendeprocess_5F_grunduppgifter.java : 933 : PandoraFieldConstants.LABEL_FORNAMN cannot be resolved JSPG0091E: An error occurred at line: 615 in the file: /arendeprocess_grunduppgifter.jsp JSPG0093E: Generated servlet error from file: /arendeprocess_grunduppgifter.jsp C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv1\temp\PRVSTHV1510Node01\server1\PandoraArendeEar\PandoraArendeWeb.war\_arendeprocess_5F_grunduppgifter.java : 941 : PandoraFieldConstants.LABEL_EFTERNAMN cannot be resolved JSPG0091E: An error occurred at line: 628 in the file: /arendeprocess_grunduppgifter.jsp JSPG0093E: Generated servlet error from file: /arendeprocess_grunduppgifter.jsp C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv1\temp\PRVSTHV1510Node01\server1\PandoraArendeEar\PandoraArendeWeb.war\_arendeprocess_5F_grunduppgifter.java : 949 : PandoraFieldConstants.LABEL_FORETAG cannot be resolved JSPG0091E: An error occurred at line: 629 in the file: /arendeprocess_grunduppgifter.jsp JSPG0093E: Generated servlet error from file: /arendeprocess_grunduppgifter.jsp C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv1\temp\PRVSTHV1510Node01\server1\PandoraArendeEar\PandoraArendeWeb.war\_arendeprocess_5F_grunduppgifter.java : 957 : PandoraFieldConstants.LABEL_ORGNUMMER cannot be resolved JSPG0091E: An error occurred at line: 633 in the file: /arendeprocess_grunduppgifter.jsp JSPG0093E: Generated servlet error from file: /arendeprocess_grunduppgifter.jsp C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv1\temp\PRVSTHV1510Node01\server1\PandoraArendeEar\PandoraArendeWeb.war\_arendeprocess_5F_grunduppgifter.java : 965 : PandoraFieldConstants.LABEL_ATTENTION cannot be resolved JSPG0091E: An error occurred at line: 636 in the file: /arendeprocess_grunduppgifter.jsp JSPG0093E: Generated servlet error from file: /arendeprocess_grunduppgifter.jsp C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv1\temp\PRVSTHV1510Node01\server1\PandoraArendeEar\PandoraArendeWeb.war\_arendeprocess_5F_grunduppgifter.java : 973 : PandoraFieldConstants.LABEL_POSTADRESS cannot be resolved JSPG0091E: An error occurred at line: 639 in the file: /arendeprocess_grunduppgifter.jsp JSPG0093E: Generated servlet error from file: /arendeprocess_grunduppgifter.jsp C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv1\temp\PRVSTHV1510Node01\server1\PandoraArendeEar\PandoraArendeWeb.war\_arendeprocess_5F_grunduppgifter.java : 981 : PandoraFieldConstants.LABEL_POSTNR cannot be resolved JSPG0091E: An error occurred at line: 642 in the file: /arendeprocess_grunduppgifter.jsp JSPG0093E: Generated servlet error from file: /arendeprocess_grunduppgifter.jsp C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv1\temp\PRVSTHV1510Node01\server1\PandoraArendeEar\PandoraArendeWeb.war\_arendeprocess_5F_grunduppgifter.java : 989 : PandoraFieldConstants.LABEL_POSTORT cannot be resolved JSPG0091E: An error occurred at line: 645 in the file: /arendeprocess_grunduppgifter.jsp JSPG0093E: Generated servlet error from file: /arendeprocess_grunduppgifter.jsp C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv1\temp\PRVSTHV1510Node01\server1\PandoraArendeEar\PandoraArendeWeb.war\_arendeprocess_5F_grunduppgifter.java : 997 : PandoraFieldConstants.LABEL_LANDKOD cannot be resolved JSPG0091E: An error occurred at line: 679 in the file: /arendeprocess_grunduppgifter.jsp JSPG0093E: Generated servlet error from file: /arendeprocess_grunduppgifter.jsp C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv1\temp\PRVSTHV1510Node01\server1\PandoraArendeEar\PandoraArendeWeb.war\_arendeprocess_5F_grunduppgifter.java : 1036 : PandoraFieldConstants.LABEL_TEL cannot be resolved JSPG0091E: An error occurred at line: 682 in the file: /arendeprocess_grunduppgifter.jsp JSPG0093E: Generated servlet error from file: /arendeprocess_grunduppgifter.jsp C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv1\temp\PRVSTHV1510Node01\server1\PandoraArendeEar\PandoraArendeWeb.war\_arendeprocess_5F_grunduppgifter.java : 1044 : PandoraFieldConstants.LABEL_FAX cannot be resolved JSPG0091E: An error occurred at line: 685 in the file: /arendeprocess_grunduppgifter.jsp JSPG0093E: Generated servlet error from file: /arendeprocess_grunduppgifter.jsp C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv1\temp\PRVSTHV1510Node01\server1\PandoraArendeEar\PandoraArendeWeb.war\_arendeprocess_5F_grunduppgifter.java : 1052 : PandoraFieldConstants.LABEL_EPOST cannot be resolved JSPG0091E: An error occurred at line: 688 in the file: /arendeprocess_grunduppgifter.jsp JSPG0093E: Generated servlet error from file: /arendeprocess_grunduppgifter.jsp C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv1\temp\PRVSTHV1510Node01\server1\PandoraArendeEar\PandoraArendeWeb.war\_arendeprocess_5F_grunduppgifter.java : 1058 : PandoraFieldConstants.FIELD_OMBUD_REFERENS cannot be resolved JSPG0091E: An error occurred at line: 688 in the file: /arendeprocess_grunduppgifter.jsp JSPG0093E: Generated servlet error from file: /arendeprocess_grunduppgifter.jsp C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv1\temp\PRVSTHV1510Node01\server1\PandoraArendeEar\PandoraArendeWeb.war\_arendeprocess_5F_grunduppgifter.java : 1060 : PandoraFieldConstants.LABEL_REFERENS cannot be resolved JSPG0091E: An error occurred at line: 689 in the file: /arendeprocess_grunduppgifter.jsp JSPG0093E: Generated servlet error from file: /arendeprocess_grunduppgifter.jsp C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv1\temp\PRVSTHV1510Node01\server1\PandoraArendeEar\PandoraArendeWeb.war\_arendeprocess_5F_grunduppgifter.java : 1064 : PandoraFieldConstants.FIELD_OMBUD_REFERENS cannot be resolved JSPG0091E: An error occurred at line: 691 in the file: /arendeprocess_grunduppgifter.jsp JSPG0093E: Generated servlet error from file: /arendeprocess_grunduppgifter.jsp C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv1\temp\PRVSTHV1510Node01\server1\PandoraArendeEar\PandoraArendeWeb.war\_arendeprocess_5F_grunduppgifter.java : 1068 : PandoraFieldConstants.LABEL_OMBUD_FOR cannot be resolved JSPG0091E: An error occurred at line: 718 in the file: /arendeprocess_grunduppgifter.jsp JSPG0093E: Generated servlet error from file: /arendeprocess_grunduppgifter.jsp C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv1\temp\PRVSTHV1510Node01\server1\PandoraArendeEar\PandoraArendeWeb.war\_arendeprocess_5F_grunduppgifter.java : 1106 : The method getFormattedAdress() is undefined for the type PersonInfo JSPG0091E: An error occurred at line: 719 in the file: /arendeprocess_grunduppgifter.jsp JSPG0093E: Generated servlet error from file: /arendeprocess_grunduppgifter.jsp C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv1\temp\PRVSTHV1510Node01\server1\PandoraArendeEar\PandoraArendeWeb.war\_arendeprocess_5F_grunduppgifter.java : 1108 : The method getFormattedReferens() is undefined for the type PersonInfo 

但它抱怨的方法实际上是在类中,我已经重新部署并重新启动了服务器。所以似乎有些更改没有更新。处理这个问题的正确方法是什么?我可以编译和清理项目,但是当我尝试访问JSP页面时会出现这个运行时异常。我使用RAD 8和WAS 8,这就是堆栈跟踪出现的地方。

更新

我还没有解决这个问题。环境是IBM RAD 8(= Eclipse)和WAS(websphere)8,我的JSP无法识别新添加的Java类方法。我怀疑有某种缓存不能让我重新加载我的课程。我已经尝试从JSP中删除临时文件并重新启动服务器,并且我已经清理了项目但仍然出现错误。我该怎么办?

更新2

我可以删除其中一个有问题的类,而是获得一个noclassfounderror,但这并不是更好。 IBM RAD不适合我,从命令提示符开发比用IDE进行开发更好。

2 个答案:

答案 0 :(得分:1)

尝试删除在WAS应用服务器运行时将JSP转换为.Java文件的临时工作文件夹。然后进行干净构建并部署它并重新启动服务器。

答案 1 :(得分:1)

尝试清理并构建 IDE 理性应用程序开发人员 并注意输出任何错误“重要”

http://www.coderanch.com/t/528330/vc/does-Project-Clean-do-Eclipse