每当我启动 WebLogic 服务器时,我都会在控制台中看到以下警告。
<Warning> <HTTP> <BEA-101164> <User defined class com.org.listener.SessionTracking is not a Listener, as it does not implement the correct interface(s).>
会话跟踪.java
@ManagedBean
@SessionScoped
public class SessionTracking implements Serializable, javax.servlet.http.HttpSessionBindingListener{
//code
}
web.xml
<listener>
<listener-class>com.org.listener.SessionTracking</listener-class>
</listener>
如何解决这个问题?任何帮助将不胜感激。