2010-07-12 08:55:08 [org.springframework.aop.framework.Cglib2AopProxy]-[WARN
] Unable to proxy method [public final org.hibernate.SessionFactory org.springfr
amework.orm.hibernate3.support.HibernateDaoSupport.getSessionFactory()] because
it is final: All calls to this method via a proxy will be routed directly to the
 proxy.  tomcat 启动时报这个..  请大家看看.

解决方案 »

  1.   

    配置文件的问题吧,貌似是跟Cglib2AopProxy有关
      

  2.   

    搞定了。代理的方法是final的。所以会报这个warn
      

  3.   

    because
    it is final因为他是final类或方法。 你应该没有使用接口所以使用了cglib.而cglib是创建目标类的子类来实现代理。因为你的目标类或方法是final 所以没办法去创建
      

  4.   

    在Body标签中加入
    onbeforeunload=return(false)
    即可,如下:<body onbeforeunload=return(false)> 
    设置点关闭按钮时提示是否关闭