我有一个关于Google Code的项目,我正在使用SVN.
Eclipse中的项目一切正常.
但今天我在Google Code中创建了新项目.当我尝试将我的项目从Eclipse添加到我创建的Google存储库时,它会出错.
Eclipse控制台中的错误是:
svn:服务器发送意外返回值(405 Method Not Allowed)以响应OPTIONS请求' https://code.google.com/ ............'
Eclipse在提交时显示:
org.apache.subversion.javahl.ClientException: RA layer request failed
svn: Commit failed (details follow):
svn: Server sent unexpected return value (405 Method Not Allowed) in response to MKACTIVITY request for '/svn/!svn/act/a5a68afd-6b33-2247-9d70-58e42b6f6f4b'
org.apache.subversion.javahl.ClientException: RA layer request failed
svn: Commit failed (details follow):
svn: Server sent unexpected return value (405 Method Not Allowed) in response to MKACTIVITY request for '/svn/!svn/act/a5a68afd-6b33-2247-9d70-58e42b6f6f4b'
Run Code Online (Sandbox Code Playgroud) 我想在springMVC3中使用异常处理程序捕获一个错误.我注释了异常.i可以捕获throwable和任何异常.但是当我尝试使用Error.It没有捕获异常.任何想法,为什么它如此.下面的代码捕获例外
ExceptionHandler(InvalidDataException.class)
public ModelMap handleException(InvalidDataException ex) {
logger.debug("exception catched :" + ex);
return new ModelMap();
}
Run Code Online (Sandbox Code Playgroud)
但下面没有抓住.
@ExceptionHandler(Error.class)
public ModelMap handleException(Error ex) {
logger.debug("exception catched :" + ex);
return new ModelMap();
}
Run Code Online (Sandbox Code Playgroud)