那就用JB8了,或者把web服务器改为Tomcat,谁知道解决办法。

解决方案 »

  1.   

    不是源代码的问题,我根本没有写代码,只是用向导建了个工程,和一个jsp文件,然后编译就出这些错误,说白了有这些错误:
    "TestJsp.jsp":java.lang.NoSuchMethodException:com.borland.jbuilder.webserverglue.weblogic.jsp.NadaJavac does not define 'public static void compile(String[])'
    "TestJsp.jsp": Error: compilation of jsp file /Jsp1.jsp(javafileC:\Documents and Settings\SudhansuPati\jbproject\untitled11\classes\Temporary_Files\.jsp\testweb\jsp_servlet\__jsp1.java failed):null
    "Jsp1.jsp": java.io.IOException: Compiler failed executable.exec(java.lang.String[-classpath,])
    Exception in thread "main" 
    该如何解决呢?
      

  2.   

    你在jbuilder里配weblogic了吗?
    估计没有配置
      

  3.   

    建立一个工程-》建立一个WEBAPP->建立一个JSP->RUN菜单->config->server确认-》右键点JSP文件-》选择Run
      

  4.   

    to study_body(珍惜每一天) 
    我就是按这个步骤啊!但是不行啊,看到一本书上这样解决的!
    Download JBWE from the Borland or BEA Web sites and find the file webserverglue.jar from JBWE. Then save the file to <Jbuilder7_Installed_Dir>/patch .但我试了,却不行啊,谁给我下载JBWE的网址啊!
      

  5.   

    to wswhp(greenland)
    我已经在jbuilder里配置weblogic了!
      

  6.   

    工程属性-build-general-check jsps for error不选试试。
      

  7.   

    to: lanmarco()
     冒昧问一句:不选“check jsps for error”,即使编译通过了不照样不能运行成功吗!
      

  8.   

    To lanmarco:
    我试过了!可以了,但在页面上也没有什么错误!与例子完全一样!不知道怎么搞的!
      

  9.   

    当jsp中有与业务逻辑相关的东西时出现这种情况是很经常的,而且在JB中预编译也没有什么特别的好处(个人观点),所以建议你在以后的webapp开发中都把这项去掉。