![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java
文章平均质量分 61
zxyah
这个作者很懒,什么都没留下…
展开
-
MyEclipse6.5中加入hibernate3.0时出错
我是这样导入hibernate的:自己建立的一个包库,把hibernate所需要的jar包放进去,然后项目里使用的时候直接导入如图:可是这样用的时候测试出错,错误如下:Exception in thread "main" java.lang.ExceptionInInitializerErrorat org.zxy.model.StudentTest.main(StudentTest.java:13)Caused by: java.lang.NullPointerExceptionat org.slf4j.原创 2011-02-02 20:47:00 · 1063 阅读 · 1 评论 -
转载 org/aopalliance/intercept/MethodInterceptor
<br />Spring3.0 运行问题<br />还是运行一个马士兵视频上讲的简单的spring程序,它能运行,同样的代码我就不行!<br />报的错误是:java.lang.NoClassDefFoundError: org/aopalliance/intercept/MethodInterceptor<br />上网查了下,这可能是spring3.0特有的问题,2.5就没有!出错的原因是少了个包,解决的方案是去http://sourceforge.net/projects/aopalliance/fi转载 2011-02-10 21:42:00 · 3124 阅读 · 1 评论 -
iterator标签status属性使用方法(转)
#status.even几个属性: #status.odd 是否奇数行 #status.count 当前行数 #status.index 当前行的序号,从0开始[#status.count=#status.index转载 2011-10-09 10:55:19 · 1158 阅读 · 0 评论 -
HttpURLConnection模拟登录后添加cookie读取网页
package fileTest; import java.io.*; import java.net.HttpURLConnection; import java.net.URL; public class ConnTest { public static void main(String args[]) throws Exception{ String lianza原创 2011-12-26 14:50:03 · 4656 阅读 · 2 评论 -
基于maven的springmvc + spring + ibatis 集成
pom.xml: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/mav原创 2013-05-06 22:47:00 · 1315 阅读 · 1 评论