“test.jsp": java.lang.NoSuchMethodException:
调用了testbean中不存在的方法!
调用了testbean中不存在的方法!
解决方案 »
- 关于整合spring和struts2
- C3P0老是报错:java.sql.SQLException:Io异常: Connection reset by peer: socket write erro
- MyEclipse的BUG??创建EJB项目不添加JPA支持,想后添加就无效了?
- 请教一个线程池数量的控制问题
- 严重:Context[/p] startup failed due to previous errors
- FCK编辑器怎样清除浏览服务器按钮
- 80端口占用问题
- struts中validator的js客户端验证到底可不可用?
- 做ejb發現下面問題
- 那位大虾讲解一下,weblogic+jbuilder7+oracle的整合。给分
- 大家推荐一些关于调试JSP程序的比较好的方法吧?怎么样
- 为什么Session bean 反回 Connection老是为null?
"test.jsp": java.lang.NoSuchMethodException: com.borland.jbuilder.webserverglue.weblogic.jsp.NadaJavac does not define 'public static void compile(String[])'
这是什么意思?
<%@ page contentType="text/html; charset=GBK" %>
<html>
<head>
<title>
Jsp1
</title>
</head>
<jsp:useBean id="Jsp1BeanId" scope="session" class="test.Jsp1Bean" />
<jsp:setProperty name="Jsp1BeanId" property="*" />
<body>
<h1>
JBuilder Generated JSP
</h1>
<form method="post">
<br>Enter new value : <input name="sample"><br>
<br><br>
<input type="submit" name="Submit" value="Submit">
<input type="reset" value="Reset">
<br>
Value of Bean property is :<jsp:getProperty name="Jsp1BeanId" property="sample" />
</form>
</body>
</html>bean的代码:
package test;public class Jsp1Bean {
private String sample = "Start value";
//Access sample property
public String getSample() {
return sample;
}
//Access sample property
public void setSample(String newValue) {
if (newValue!=null) {
sample = newValue;
}
}
}
我把代码都删除了,再编译还是原来的错误,不知道是为什么
我写的代码是在jbuilder7中自动生成的
因为我应的tomcat
所以我觉的是weblogic的问题