- 博客(9)
- 资源 (2)
- 收藏
- 关注
原创 target is null for setProperty(null, "name", [Ljava.lang.String;@ffc6ae)
如题 [color=red]target is null for setProperty(null, "name", [Ljava.lang.String;@ffc6ae)[/color][color=red]严重: Could not create and/or set value back on to objectMethod "setProductType" failed for...
2011-12-10 22:16:41 151
MyEclipse发布到tomcat服务器时报tomcat配置错误:server is enabled, but is not configured prope...
项目通过MyEclipse 发布到 tomcat时 弹出窗口警告,内容是:The selected server is enabled, but is not configured properly. Deployment to it will not be permitted until the problem is corrected. Please navigate to the se...
2011-11-16 10:54:23 505
JAVA版的微博系统 项目 功能
现在微博很是流行,这个可能缘于微博的作用。在微博上好象无所不能,用微薄营销,用微薄交友,用微薄知天下,用微薄无时间无地域的沟通,还有用微薄恋爱结婚的,等等。。。现在网上都以新浪、腾讯、网易等为主流,网上的程序也大都是php版本的,我是做java的对php不懂,不知道有没有java版本的,很期待!想来想去自己要学习微博,可是苦于找不到开源的JAVA版本,思来想去自己写了个,正在编写当中。...
2011-08-31 11:40:19 1097
java 伪静态 urlrewrite 配置需要注意的地方
今天想在项目中用urlrewrite进行地址伪静态,我用的是ssh,我都照以前配置好了,可是我怎么访问都是404,可是我要是把跳转的action改成jsp页面就好了。。。。。郁闷! web.xml 配置:<!-- urlrewrite --><filter> <filter-name>UrlRewriteFilter</filter-n...
2011-06-24 09:47:48 134
异常:could not initialize proxy - no Session
异常:严重: could not initialize proxy - no Sessionorg.hibernate.LazyInitializationException: could not initialize proxy - no Session at org.hibernate.proxy.AbstractLazyInitializer.initialize(Abstrac...
2011-06-24 09:24:46 102
原创 报错 no row with the given identifier exists: //could not load an entity:
类似于:严重: No row with the given identifier exists: [com.twitter.entity.TwitterTopicImage#0]; nested exception is org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.tw...
2011-05-29 23:56:43 189
原创 Servlet,Listener和Filter 获取ServletContext (application上下文环境)
Listener的项目上下文(既ServletContext既application)是从event中获取的,event是Listener和容器之间交流的中间人public interface ServletContextListener extends EventListener { public void contextInitialized ( Serv...
2011-05-26 16:06:40 286
报错 could not initialize a collection: [com.twitter.entity.Role.actions#20]
最近用struts2.8+hibernate3.5+spring3.0+annotations写项目,用到了Hibernate注解,其中有实体关系用到注解如:Role实体@SuppressWarnings("serial")@Entity@Table(name = "role")public class Role implements java.io.Serializable ...
2011-04-08 15:53:57 341
Hibernate一对一主键关联(基于annotation注解方式)
hibernate中一对一的关联有两种方式:一种是采用外键关联,另外一种是采用主键关联。 项目中用到Hibernate(annotation注解方式)构建实体类,其中有一对一主键双向关联。期间遇到一些问题,现在贴出来探讨探讨。 一个帖子内容类(PostText)对应一个帖子信息类(Post),主要目标是在存储帖子或者帖子内容时,关联的对象也被存储。具体代码如下: Post类@Entit...
2011-03-30 14:38:59 126
DynamicLegend.zip,flex动态绘制地图的legend
2011-12-09
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人