1.css标准规范:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
2.eclipse异常
unhandled event loop exception permgen
解决方法:
1.修改eclipse.ini中对应的内存大小
2.通过制定vm方式去启动eclipse
eclipse.exe -vm "D:\java\jdk1.6.0_18\bin\javaw.exe"
3.spring security 3.0.1
异常: Maximum sessions of 1 for this principal exceeded
原因:
异常位置:
AbstractAuthenticationProcessingFilter.doFilter
解决方法:
@web.xml
@springSecurity configuration
4.SVN Exception: Could not authenticate to proxy server: rejected Basic challenge
解决方法:
添加eclipse中代理
preferences -> general -> network connections
OR 添加SVN中代理
C:\Documents and Settings\leo\Application Data\Subversion\servers
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
2.eclipse异常
unhandled event loop exception permgen
解决方法:
1.修改eclipse.ini中对应的内存大小
2.通过制定vm方式去启动eclipse
eclipse.exe -vm "D:\java\jdk1.6.0_18\bin\javaw.exe"
3.spring security 3.0.1
异常: Maximum sessions of 1 for this principal exceeded
原因:
<session-management invalid-session-url="/login.htm">
<concurrency-control max-sessions="1" error-if-maximum-exceeded="true" />
</session-management>
异常位置:
AbstractAuthenticationProcessingFilter.doFilter
sessionStrategy.onAuthentication(authResult, request, response);
解决方法:
@web.xml
<!-- Spring Security -->
<listener>
<listener-class>org.springframework.security.web.session.HttpSessionEventPublisher</listener-class>
</listener>
@springSecurity configuration
<logout logout-success-url="/login.htm" invalidate-session="true" />
4.SVN Exception: Could not authenticate to proxy server: rejected Basic challenge
解决方法:
添加eclipse中代理
preferences -> general -> network connections
OR 添加SVN中代理
C:\Documents and Settings\leo\Application Data\Subversion\servers
[groups]
foobargroup = *.google.com
[foobargroup]
http-proxy-host = 10.10.10.10
http-proxy-port = 8080
http-proxy-username = leo
http-proxy-password = leo@earth