`
jeonkeen
  • 浏览: 39176 次
  • 性别: Icon_minigender_1
  • 来自: 合肥
社区版块
存档分类
最新评论
文章列表
如题 target is null for setProperty(null, "name", [Ljava.lang.String;@ffc6ae) 严重: Could not create and/or set value back on to object Method "setProductType" failed for object net.epsshop.action.admin.ProductTypeAction@163bad4 - Class: ognl.OgnlRuntime File: OgnlRuntime.java Method ...
项目通过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 server preference pages and verify the field with the prompt: Tomcat JDK name: 意思很明显,就是服务开启了,可是配置有问题 ...
现在微博很是流行,这个可能缘于微博的作用。在微博上好象无所不能,用微薄营销,用微薄交友,用微薄知天下,用微薄无时间无地域的沟通,还有用微薄恋爱结婚的,等等。。。 现在网上都以新浪、腾讯、网易等为主流,网上的程序也大都是php版本的 ,我是做java的对php不懂,不知道有没有java版本的,很期待! 想来想去自己要学习微博,可是苦于找不到开源的JAVA版本,思来想去自己写了个,正在编写当中。。。,用的架构是struts2.0+hibernate3.5+spring3.0+annotations   等完成出不多我会陆续写在我的博客里,在这里希望有和我一样想法的或者知道开源java版 ...
今天想在项目中用urlrewrite进行地址伪静态,我用的是ssh,我都照以前配置好了,可是我怎么访问都是404,可是我要是把跳转的action改成jsp页面就好了。。。。。郁闷!   web.xml 配置: <!-- urlrewrite --> <filter> <filter-name>UrlRewriteFilter</filter-name> <filter-class> org.tuckey.web.filters.urlrewrite.UrlRewriteFilter </filter-cl ...
异常: 严重: could not initialize proxy - no Session org.hibernate.LazyInitializationException: could not initialize proxy - no Session at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:167) at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(Abstrac ...
类似于: 严重: 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.twitter.entity.TwitterTopicImage#0] org.springframework.orm.hibernate3.HibernateObjectRetrievalFailure ...
Listener的项目上下文(既ServletContext既application)是从event中获取的,event是Listener和容器之间交流的中间人 public interface ServletContextListener extends EventListener { public void contextInitialized ( ServletContextEvent sce ); -------------------------------------------- ServletC ...
最近用struts2.8+hibernate3.5+spring3.0+annotations写项目,用到了Hibernate注解,其中有实体关系用到注解如: Role实体 @SuppressWarnings("serial") @Entity @Table(name = "role") public class Role implements java.io.Serializable { // Fields @Id @GeneratedValue(strategy = GenerationType.AUTO) @Col ...
hibernate中一对一的关联有两种方式:一种是采用外键关联,另外一种是采用主键关联。 项目中用到Hibernate(annotation注解方式)构建实体类,其中有一对一主键双向关联。期间遇到一些问题,现在贴出来探讨探讨。 一个帖子内容类(PostText)对应一个帖子信息类(Post),主要目标是在存储帖子或者帖子内容时,关联的对象也被存储。具体代码如下:   Post类 @Entity @Table(name = "posts") public class Post implements Serializable { @Id @Generated ...
Global site tag (gtag.js) - Google Analytics