九月笔记

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
原因:

<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
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值