2 hellohanlu HELLOhanlu 于 2016.09.21 15:42 提问

tomcat启动报错,但是项目可以运行起来,求大神指导。

[2016-09-21 15:43:50,938] main (LoginFilter.java:114) ERROR com.ai.appframe2.web.filter.LoginFilter - 使用配置AIConfig中配置的ILLEGAL_CHAR_CHECK<|alert(|document.cookie|href|script|select |select/|select(|select*|insert |insert/|insert(|insert*|update |update/|update(|update*|delete |delete/|delete(|delete*|truncate |truncate/|truncate(|truncate*|exec |exec/|exec(|exec*|drop |drop/|drop(|drop*|iframe出错,使用默认document.cookie|href|script|select |select/|select(|select*|insert |insert/|insert(|insert*|update |update/|update(|update*|delete |delete/|delete(|delete*|truncate |truncate/|truncate(|truncate*|exec |exec/|exec(|exec*|drop |drop/|drop(|drop*
java.util.regex.PatternSyntaxException: Unclosed group near index 273
<|alert(|document.cookie|href|script|select |select/|select(|select*|insert |insert/|insert(|insert*|update |update/|update(|update*|delete |delete/|delete(|delete*|truncate |truncate/|truncate(|truncate*|exec |exec/|exec(|exec*|drop |drop/|drop(|drop*|iframe
^
at java.util.regex.Pattern.error(Unknown Source)
at java.util.regex.Pattern.accept(Unknown Source)
at java.util.regex.Pattern.group0(Unknown Source)
at java.util.regex.Pattern.sequence(Unknown Source)
at java.util.regex.Pattern.expr(Unknown Source)
at java.util.regex.Pattern.compile(Unknown Source)
at java.util.regex.Pattern.(Unknown Source)
at java.util.regex.Pattern.compile(Unknown Source)
at com.ai.appframe2.web.filter.LoginFilter.init(LoginFilter.java:109)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:298)
at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:119)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4076)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4730)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:802)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:583)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1080)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1003)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:507)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1322)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:325)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1068)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:822)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1060)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
at org.apache.catalina.core.StandardService.start(StandardService.java:525)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:759)
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

1个回答

yun1019511571
yun1019511571   2016.09.21 16:05

main (LoginFilter.java:114) ERROR com.ai.appframe2.web.filter.LoginFilter

LoginFilter.java的第114行代码报错.

HELLOhanlu
HELLOhanlu 回复哦麦滴: 恩 , 运行时报出来的 ,但项目还是可以起来的
大约一年之前 回复
yun1019511571
yun1019511571 回复HELLOhanlu: ...运行时异常啊.
大约一年之前 回复
HELLOhanlu
HELLOhanlu 代码编译并没有报错
大约一年之前 回复
Csdn user default icon
上传中...
上传图片
插入图片