spring mvc+ibatis+oracle ORA-02289: 序列不存在

代码是从svn更新下来的,在别人机器的运行环境下都可以正常运行,在我的环境下就水土不服了,请大神指点
sql如下:

select SEQ_SIAPP_COUPON_NO.nextval from dual

错误信息如下:

java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.paic.mhis.siapp.core.rps.proxy.MethodInvoker.invoke(MethodInvoker.java:27)
at com.paic.mhis.siapp.core.rps.proxy.MethodInvoker$$FastClassByCGLIB$$91548d27.invoke()
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:689)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at com.paic.mhis.siapp.admin.general.logging.aop.LoggerInterceptor.invoke(LoggerInterceptor.java:45)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:622)
at com.paic.mhis.siapp.admin.general.logging.aop.SmsMethodInvoker$$EnhancerByCGLIB$$c201eac9.invoke()
at com.paic.mhis.siapp.core.rps.protocol.Receiver.invoke(Receiver.java:32)
at com.paic.mhis.siapp.core.rps.transport.server.RpsHttpServer.handleRequest(RpsHttpServer.java:19)
at com.paic.mhis.siapp.core.rps.transport.server.RpsHttpServlet.doPost(RpsHttpServlet.java:126)
at com.paic.mhis.siapp.core.rps.transport.server.RpsHttpServlet.doPost(RpsHttpServlet.java:90)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3594)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: org.springframework.jdbc.BadSqlGrammarException: SqlMapClient operation; bad SQL grammar []; nested exception is com.ibatis.common.jdbc.exception.NestedSQLException:

--- The error occurred in sqlmaps/market/sqlmap-mapping-couponManage.xml.

--- The error occurred while applying a parameter map.

--- Check the couponManage.getCouponNoSeq-InlineParameterMap.

--- Check the statement (query failed).

--- Cause: java.sql.SQLSyntaxErrorException: ORA-02289: 序列不存在

at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:98)
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:80)
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:80)
at org.springframework.orm.ibatis.SqlMapClientTemplate.execute(SqlMapClientTemplate.java:203)
at org.springframework.orm.ibatis.SqlMapClientTemplate.queryForObject(SqlMapClientTemplate.java:279)
at com.paic.pafa.biz.dao.BaseDAO._getObject(Unknown Source)
at com.paic.pafa.biz.dao.BaseDAO._queryForObject(Unknown Source)
at com.paic.mhis.siapp.common.integration.dao.impl.CommonDaoImpl.get(CommonDaoImpl.java:121)
at com.paic.mhis.oaccount.market.service.impl.CouponManageServiceImpl.getCouponNo(CouponManageServiceImpl.java:89)
... 31 more

Caused by: com.ibatis.common.jdbc.exception.NestedSQLException:

--- The error occurred in sqlmaps/market/sqlmap-mapping-couponManage.xml.

--- The error occurred while applying a parameter map.

--- Check the couponManage.getCouponNoSeq-InlineParameterMap.

--- Check the statement (query failed).

--- Cause: java.sql.SQLSyntaxErrorException: ORA-02289: 序列不存在

at com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeQueryWithCallback(GeneralStatement.java:185)
at com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeQueryForObject(GeneralStatement.java:104)
at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForObject(SqlMapExecutorDelegate.java:566)
at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.queryForObject(SqlMapSessionImpl.java:114)
at org.springframework.orm.ibatis.SqlMapClientTemplate$2.doInSqlMapClient(SqlMapClientTemplate.java:281)
at org.springframework.orm.ibatis.SqlMapClientTemplate.execute(SqlMapClientTemplate.java:200)
... 36 more

Caused by: java.sql.SQLSyntaxErrorException: ORA-02289: 序列不存在

at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:91)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1035)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:791)
at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:866)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1187)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3386)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3487)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1374)
at weblogic.jdbc.wrapper.PreparedStatement.execute(PreparedStatement.java:98)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.ibatis.common.jdbc.logging.PreparedStatementLogProxy.invoke(PreparedStatementLogProxy.java:62)
at $Proxy223.execute(Unknown Source)
at com.ibatis.sqlmap.engine.execution.SqlExecutor.executeQuery(SqlExecutor.java:186)
at com.paic.pafa.app.lwc.service.persistence.dao.ibatis.PafaSqlExecutor.doSuperExecuteQuery(Unknown Source)
at com.paic.pafa.app.lwc.service.persistence.dao.ibatis.PafaSqlExecutor.executeQuery(Unknown Source)
at com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.sqlExecuteQuery(GeneralStatement.java:205)
at com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeQueryWithCallback(GeneralStatement.java:173)
... 41 more

[03/30 10:53:27] [WARN] RpsHttpServlet: rollback
<[ServletContext@9937403[app:siapp-sms-app module:siapp-sms-app path:/siapp-sms-app spec-version:2.5]] Servlet failed with Exception
java.lang.NullPointerException
at com.paic.mhis.siapp.core.rps.transport.server.RpsHttpServlet.doPost(RpsHttpServlet.java:94)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
Truncated. see log file for complete stacktrace

6个回答

select SEQ_SIAPP_COUPON_NO.nextval from dual
改为
select 99999 from dual
试下好用与否?

如果好用,说明SEQ_SIAPP_COUPON_NO可能是你的用户没有权限使用,或者SEQ_SIAPP_COUPON_NO真是不存在。
如果不好用,说明你的项目配置或编码用问题。

engchina
engchina 还有就是用同一个sequence,换一个数据库试下?
大约 3 年之前 回复
engchina
engchina 换一个sequence试下呢?
大约 3 年之前 回复
caikelei
Clay_cai 改的sql肯定是好用的,代码是从svn上更新下来的,我们用的是同一个数据库,我把序列删除后重新建的也还是不行,关键问题是其他人也是从svn上更新代码就可以正常获取,真的很郁闷,谢谢你的回答!
大约 3 年之前 回复

你需要在oracle项目对应的数据库中新建一个序列 Check the couponManage.getCouponNoSeq-InlineParameterMap. 具体见这个mapper

caikelei
Clay_cai 序列是已经存在的,而且别人都可以正常获取这个序列,我们用的是同一个数据库
大约 3 年之前 回复

SQL有错,自己检查你的sql语句中使用到序列的地方,是序列写错了,还是根本就没有

caikelei
Clay_cai 序列是存在的,用的是同一个数据库,别人都可以正常获取
大约 3 年之前 回复
caikelei
Clay_cai 这个看过了,谢谢!这个是创建一个序列,现在序列是已经建好的
大约 3 年之前 回复

你看下你们数据库是用的同一个源吗? 如果是同一个不是本地数据库那应该没问题;如果是本地数据库那就是你数据库没建序列;去别人的数据库看下有哪些序列要建;

caikelei
Clay_cai 谢谢你的回答,数据库没有问题,序列也是存在的,在pl/sql中这个sql也可已正常获取数据,就是在代码中不行,关键问题是别人都可以正常获取,和我代码一样,就我这边获取不了序列,如果不用序列,而用sys_guid(),是可以正常获取值的,我感觉还是项目环境的问题,就是不知道问题出在哪里
大约 3 年之前 回复

问题已经找到
,建表时有对多个用户赋予了不同的权限,在weblogic中配置时,username用的是没有操作序列权限的用户名

dlc152133
房西的狗 我现在也是同样的问题,请问怎么才能解决啊?我登进我这个用户可以查到序列,就是在后台报序列不存在的错
一年多之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
spring mvc+ibatis+oracle ORA-02289: 序列不存在

代码是从svn更新下来的,在别人机器的运行环境下都可以正常运行,在我的环境下就水土不服了,请大神指点 sql如下: <select id="Manage.getSeq" resultClass="string"> select SEQ_SIAPP_COUPON_NO.nextval from dual </select> 错误信息如下: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.paic.mhis.siapp.core.rps.proxy.MethodInvoker.invoke(MethodInvoker.java:27) at com.paic.mhis.siapp.core.rps.proxy.MethodInvoker$$FastClassByCGLIB$$91548d27.invoke(<generated>) at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:689) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at com.paic.mhis.siapp.admin.general.logging.aop.LoggerInterceptor.invoke(LoggerInterceptor.java:45) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:622) at com.paic.mhis.siapp.admin.general.logging.aop.SmsMethodInvoker$$EnhancerByCGLIB$$c201eac9.invoke(<generated>) at com.paic.mhis.siapp.core.rps.protocol.Receiver.invoke(Receiver.java:32) at com.paic.mhis.siapp.core.rps.transport.server.RpsHttpServer.handleRequest(RpsHttpServer.java:19) at com.paic.mhis.siapp.core.rps.transport.server.RpsHttpServlet.doPost(RpsHttpServlet.java:126) at com.paic.mhis.siapp.core.rps.transport.server.RpsHttpServlet.doPost(RpsHttpServlet.java:90) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3594) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) Caused by: org.springframework.jdbc.BadSqlGrammarException: SqlMapClient operation; bad SQL grammar []; nested exception is com.ibatis.common.jdbc.exception.NestedSQLException: --- The error occurred in sqlmaps/market/sqlmap-mapping-couponManage.xml. --- The error occurred while applying a parameter map. --- Check the couponManage.getCouponNoSeq-InlineParameterMap. --- Check the statement (query failed). --- Cause: java.sql.SQLSyntaxErrorException: ORA-02289: 序列不存在 at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:98) at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72) at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:80) at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:80) at org.springframework.orm.ibatis.SqlMapClientTemplate.execute(SqlMapClientTemplate.java:203) at org.springframework.orm.ibatis.SqlMapClientTemplate.queryForObject(SqlMapClientTemplate.java:279) at com.paic.pafa.biz.dao.BaseDAO._getObject(Unknown Source) at com.paic.pafa.biz.dao.BaseDAO._queryForObject(Unknown Source) at com.paic.mhis.siapp.common.integration.dao.impl.CommonDaoImpl.get(CommonDaoImpl.java:121) at com.paic.mhis.oaccount.market.service.impl.CouponManageServiceImpl.getCouponNo(CouponManageServiceImpl.java:89) ... 31 more Caused by: com.ibatis.common.jdbc.exception.NestedSQLException: --- The error occurred in sqlmaps/market/sqlmap-mapping-couponManage.xml. --- The error occurred while applying a parameter map. --- Check the couponManage.getCouponNoSeq-InlineParameterMap. --- Check the statement (query failed). --- Cause: java.sql.SQLSyntaxErrorException: ORA-02289: 序列不存在 at com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeQueryWithCallback(GeneralStatement.java:185) at com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeQueryForObject(GeneralStatement.java:104) at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForObject(SqlMapExecutorDelegate.java:566) at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.queryForObject(SqlMapSessionImpl.java:114) at org.springframework.orm.ibatis.SqlMapClientTemplate$2.doInSqlMapClient(SqlMapClientTemplate.java:281) at org.springframework.orm.ibatis.SqlMapClientTemplate.execute(SqlMapClientTemplate.java:200) ... 36 more Caused by: java.sql.SQLSyntaxErrorException: ORA-02289: 序列不存在 at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:91) at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413) at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1035) at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194) at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:791) at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:866) at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1187) at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3386) at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3487) at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1374) at weblogic.jdbc.wrapper.PreparedStatement.execute(PreparedStatement.java:98) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.ibatis.common.jdbc.logging.PreparedStatementLogProxy.invoke(PreparedStatementLogProxy.java:62) at $Proxy223.execute(Unknown Source) at com.ibatis.sqlmap.engine.execution.SqlExecutor.executeQuery(SqlExecutor.java:186) at com.paic.pafa.app.lwc.service.persistence.dao.ibatis.PafaSqlExecutor.doSuperExecuteQuery(Unknown Source) at com.paic.pafa.app.lwc.service.persistence.dao.ibatis.PafaSqlExecutor.executeQuery(Unknown Source) at com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.sqlExecuteQuery(GeneralStatement.java:205) at com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeQueryWithCallback(GeneralStatement.java:173) ... 41 more [03/30 10:53:27] [WARN] RpsHttpServlet: rollback <2017-3-30 上午10时53分27秒 CST> <Error> <HTTP> <BEA-101020> <[ServletContext@9937403[app:siapp-sms-app module:siapp-sms-app path:/siapp-sms-app spec-version:2.5]] Servlet failed with Exception java.lang.NullPointerException at com.paic.mhis.siapp.core.rps.transport.server.RpsHttpServlet.doPost(RpsHttpServlet.java:94) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) Truncated. see log file for complete stacktrace

mybaitis插入返回主键的时候报错,显示ORA-00923:

sql语句: ``` <insert id="insert" parameterType="com.zbiti.itop.complain.entity.Complain"> <![CDATA[ insert into MSS_FAULT (mf_id,mf_Sys_Type,mf_Major,mf_Detail) values (SEQ_MSS_FAULT.nextval,#{mfSysType},#{mfMajor},#{mfDetail}) ]]> <selectKey order="AFTER" keyProperty="mfId" resultType="java.lang.String"> select LAST_INSERT_ID() </selectKey> </insert> ``` 下面是报错: ``` 2017-01-17 10:19:35.935 [http-bio-8080-exec-8] DEBUG com.zbiti.base.spring.EmossExceptionHandler(133) - Resolving exception from handler [public void com.zbiti.itop.complain.controller.ComplainController.add(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.lang.Exception]: org.apache.ibatis.exceptions.PersistenceException: ### Error updating database. Cause: org.apache.ibatis.executor.ExecutorException: Error selecting key or setting result to parameter object. Cause: java.sql.SQLSyntaxErrorException: ORA-00923: 未找到要求的 FROM 关键字 Caused by: org.apache.ibatis.executor.ExecutorException: Error selecting key or setting result to parameter object. Cause: java.sql.SQLSyntaxErrorException: ORA-00923: 未找到要求的 FROM 关键字 ``` set get 方法也都提供了,请问这个是怎么回事儿?谢谢

ORA-00921: 未预期的 SQL 命令结尾,帮忙看一下这个语句哪里错了?

报错如下 Caused by: com.ibatis.common.jdbc.exception.NestedSQLException:    --- The error occurred while applying a parameter map.   --- Check the TpostUpexamreg.findTpostUpexamregDetailList-InlineParameterMap.   --- Check the statement (query failed).   --- Cause: java.sql.SQLException: ORA-00921: 未预期的 SQL 命令结尾 语句如下: <select id="findTpostUpexamregDetailList" parameterClass="map" resultClass="tpostUpexamregBean"> select upexam.year,upexam.currentgrade,upexam.id, upexam.targetgrade,upexam.flowsta,upexam.chksign, us.username username_,us.idcard, up.chgradeyear chgradeyear_,up.year year_,up.effstayear effstayear_,up.effendyear effendyear_, co.codename spostname_ from tb_tpost_upexamreg upexam,pxgl_users us, tb_tpost_userpost up,tb_tpost_code co,pxgl_unit un where upexam.year = #year# <isNotEmpty property="unitid"> and upexam.unitid = #unitid# </isNotEmpty> <!-- 不为被废弃数据 --> and upexam.flowsta!=-99 and upexam.idcard = us.idcard(+) and us.idcard= up.idcard(+) and us.unitid = un.unitid(+) and up.dataflag!=99 <isNotEmpty prepend="and" property="flowsta"> <isEmpty property="flowsta21"> <![CDATA[upexam.flowsta >= #flowsta#]]> </isEmpty> <isNotEmpty property="flowsta21"> (<![CDATA[upexam.flowsta >= #flowsta#]]> or upexam.flowsta=#flowsta21#) </isNotEmpty> <isEqual compareValue="21" property="flowsta" prepend="and"> un.f_unitid is not null </isEqual> </isNotEmpty> and upexam.mpostid = up.mpostid and upexam.spostid = up.spostid and up.spostid = co.id <isNotEmpty prepend="" property="mpostid"> and upexam.mpostid = #mpostid# <isNotEmpty property="spostid"> and upexam.spostid = #spostid# </isNotEmpty> </isNotEmpty> <isNotEmpty property="targetGrade"> and upexam.targetgrade = #targetGrade# </isNotEmpty> <isNotEmpty prepend="and" property="keyword"> us.username like '%'||#keyword#||'%' </isNotEmpty> <isNotEmpty prepend="and" property="filterChk"> upexam.flowsta != 99 </isNotEmpty> <!-- <isNotEmpty property="sortfield"> --> order by upexam.flowsta <!-- </isNotEmpty> --> </select>

跪求各位大牛指引,一直报:ORA-00907: 缺失右括号

# 使用mybatis框架,sql语句为: # <select id="findAllByCondition" resultMap="userResultMap" parameterType="map"> # SELECT (<include refid="userColumns"/>) FROM BLQL_USER # <where> # 1=1 # <if test="username != null"> # and USERNAME LIKE '%${username}%' # </if> # <if test="jobnumber != null"> # and JOBNUMBER LIKE '%${jobnumber}%' # </if> # <if test="enable != null"> # and ENABLE LIKE '%${enable}%' # </if> # <if test="phone != null"> # and PHONE LIKE '%${phone}%' # </if> # ORDER BY CREATETIME # </where> # </select> 检查修改了好几次后台还是一直报: The error occurred while setting parameters SQL: SELECT ( ID,USERNAME,PASSWORD,REALNAME,JOBNUMBER,DESCRIPTION,CREATETIME,PHONE,EMAIL,ENABLE ) FROM BLQL_USER WHERE 1=1 Cause: java.sql.SQLSyntaxErrorException: ORA-00907: 缺失右括号 跪求各位技术大牛指引,小弟不胜感激。

重复的事务标识,求解决方案,框架:springMVC+mybatis,数据库oracle

项目总是隔两天报一次错误:重复的事物标识,报错的sql总是涉及到 使用 db_link的sql语句,重启项目后就好了,求高手解答!!! 报错内容如下: ``` HTTP Status 500 - Request processing failed; nested exception is org.springframework.jdbc.UncategorizedSQLException: type Exception report message Request processing failed; nested exception is org.springframework.jdbc.UncategorizedSQLException: description The server encountered an internal error that prevented it from fulfilling this request. exception org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.jdbc.UncategorizedSQLException: ### Error querying database. Cause: java.sql.SQLException: ORA-24757: 重复的事务处理标识 ORA-02063: 紧接着 line (起自 XBZHPDB) ### The error may exist in file [C:\tomcat\apache-tomcat-7.0.70\webapps\webApi\WEB-INF\classes\com\petrochina\mapping\StaypxsjhMapper.xml] ### The error may involve defaultParameterMap ### The error occurred while setting parameters ### SQL: SELECT nvl(sum(A.XSL/A.ZB),0) FROM (SELECT nvl(sum(QY_PFWCL+ QY_LSWCL+CY_PFWCL+ CY_LSWCL),0) as XSL,MZXNJG, (select AREA_SCZB FROM BASE_PROVINCIAL_AREA@xbzhpdb WHERE AREA_SQBM = MZXNJG) as ZB FROM STA_YPXSJH_WC WHERE to_char(CALDAY,'yyyy-mm-dd') BETWEEN ? and ? GROUP BY MZXNJG) A WHERE A.ZB is not null ### Cause: java.sql.SQLException: ORA-24757: 重复的事务处理标识 ORA-02063: 紧接着 line (起自 XBZHPDB) ; uncategorized SQLException for SQL []; SQL state [99999]; error code [24757]; ORA-24757: 重复的事务处理标识 ORA-02063: 紧接着 line (起自 XBZHPDB) ; nested exception is java.sql.SQLException: ORA-24757: 重复的事务处理标识 ORA-02063: 紧接着 line (起自 XBZHPDB) org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:973) org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:852) javax.servlet.http.HttpServlet.service(HttpServlet.java:624) org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:837) javax.servlet.http.HttpServlet.service(HttpServlet.java:731) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:108) root cause org.springframework.jdbc.UncategorizedSQLException: ### Error querying database. Cause: java.sql.SQLException: ORA-24757: 重复的事务处理标识 ORA-02063: 紧接着 line (起自 XBZHPDB) ### The error may exist in file [C:\tomcat\apache-tomcat-7.0.70\webapps\webApi\WEB-INF\classes\com\petrochina\mapping\StaypxsjhMapper.xml] ### The error may involve defaultParameterMap ### The error occurred while setting parameters ### SQL: SELECT nvl(sum(A.XSL/A.ZB),0) FROM (SELECT nvl(sum(QY_PFWCL+ QY_LSWCL+CY_PFWCL+ CY_LSWCL),0) as XSL,MZXNJG, (select AREA_SCZB FROM BASE_PROVINCIAL_AREA@xbzhpdb WHERE AREA_SQBM = MZXNJG) as ZB FROM STA_YPXSJH_WC WHERE to_char(CALDAY,'yyyy-mm-dd') BETWEEN ? and ? GROUP BY MZXNJG) A WHERE A.ZB is not null ### Cause: java.sql.SQLException: ORA-24757: 重复的事务处理标识 ORA-02063: 紧接着 line (起自 XBZHPDB) ; uncategorized SQLException for SQL []; SQL state [99999]; error code [24757]; ORA-24757: 重复的事务处理标识 ORA-02063: 紧接着 line (起自 XBZHPDB) ; nested exception is java.sql.SQLException: ORA-24757: 重复的事务处理标识 ORA-02063: 紧接着 line (起自 XBZHPDB) org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:84) org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81) org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81) org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73) org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371) com.sun.proxy.$Proxy13.selectOne(Unknown Source) org.mybatis.spring.SqlSessionTemplate.selectOne(SqlSessionTemplate.java:163) org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:68) org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:52) com.sun.proxy.$Proxy30.queryShengTotalZhanBi(Unknown Source) com.petrochina.service.impl.staypxsjhServiceImpl.XBWL_scgk(staypxsjhServiceImpl.java:383) com.petrochina.controller.HomeController.XBWL_scgk(HomeController.java:1041) sun.reflect.GeneratedMethodAccessor146.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:498) org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:215) org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132) org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104) org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:749) org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:690) org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:83) org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:945) org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:876) org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:961) org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:852) javax.servlet.http.HttpServlet.service(HttpServlet.java:624) org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:837) javax.servlet.http.HttpServlet.service(HttpServlet.java:731) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:108) note The full stack trace of the root cause is available in the Apache Tomcat/7.0.70 logs. Apache Tomcat/7.0.70 ```

ORA-30485: 在窗口说明中丢失 ORDER BY 表达式

![图片说明](https://img-ask.csdn.net/upload/201710/30/1509352962_468218.jpg) 单独拿到plsql运行是没有问题的,但是在ibatis xml里写之后,后台打出的sql里order by 消失了,很奇怪

sql loader总是报错,SQL*Loader-704 ORA-12154

oracle安装在D盘,在命令行中输入C:\>sqlldr userid=scott/scott@orcl control=c:\input.ctl 报错信息如下SQL*Loader-704: Internal error: ulconnect: OCIServerAttach [0] ORA-12154: TNS:could not resolve the connect identifier specified ctl文件内容如下: LOAD DATA INFILE 'c:\testWorksheet.csv' APPEND INTO TABLE testtable FIELDS TERMINATED BY "," (id,name,age) tnsnames.ora tnsnames.ora LISTENER_ORCL = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) ORCL = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl) ) ) 求高手如何解决啊?

idea spring boot (网上找了很久很久的答案):绑定错误:org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.example.springtest.dao.UserMapper.selectAll

感谢你们。 (已解决,你们看看我这个错误是特殊的错误,只有小白会犯的错,看评论) 绑定错误 org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.example.springtest.dao.UserMapper.selectAll <select id="selectAll" resultMap="BaseResultMap"> select * from user </select> ![图片说明](https://img-ask.csdn.net/upload/201911/18/1574046713_672761.png) ![图片说明](https://img-ask.csdn.net/upload/201911/18/1574046777_268887.png) ![图片说明](https://img-ask.csdn.net/upload/201911/18/1574046855_651300.png)

org.apache.ibatis.ognl.OgnlException:怎么解决

Caused by: org.apache.ibatis.ognl.OgnlException: source is null for getProperty(null, "mainPic") at org.apache.ibatis.ognl.OgnlRuntime.getProperty(OgnlRuntime.java:1652) ~[mybatis-3.2.2-3.2.2.jar:3.2.2] at org.apache.ibatis.ognl.ASTProperty.getValueBody(ASTProperty.java:92) ~[mybatis-3.2.2-3.2.2.jar:3.2.2] at org.apache.ibatis.ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170) ~[mybatis-3.2.2-3.2.2.jar:3.2.2] at org.apache.ibatis.ognl.SimpleNode.getValue(SimpleNode.java:210) ~[mybatis-3.2.2-3.2.2.jar:3.2.2] at org.apache.ibatis.ognl.ASTChain.getValueBody(ASTChain.java:109) ~[mybatis-3.2.2-3.2.2.jar:3.2.2] at org.apache.ibatis.ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170) ~[mybatis-3.2.2-3.2.2.jar:3.2.2] at org.apache.ibatis.ognl.SimpleNode.getValue(SimpleNode.java:210) ~[mybatis-3.2.2-3.2.2.jar:3.2.2] at org.apache.ibatis.ognl.ASTNotEq.getValueBody(ASTNotEq.java:49) ~[mybatis-3.2.2-3.2.2.jar:3.2.2] at org.apache.ibatis.ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170) ~[mybatis-3.2.2-3.2.2.jar:3.2.2] at org.apache.ibatis.ognl.SimpleNode.getValue(SimpleNode.java:210) ~[mybatis-3.2.2-3.2.2.jar:3.2.2] at org.apache.ibatis.ognl.ASTAnd.getValueBody(ASTAnd.java:56) ~[mybatis-3.2.2-3.2.2.jar:3.2.2] at org.apache.ibatis.ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170) ~[mybatis-3.2.2-3.2.2.jar:3.2.2] at org.apache.ibatis.ognl.SimpleNode.getValue(SimpleNode.java:210) ~[mybatis-3.2.2-3.2.2.jar:3.2.2] at org.apache.ibatis.ognl.Ognl.getValue(Ognl.java:333) ~[mybatis-3.2.2-3.2.2.jar:3.2.2] at org.apache.ibatis.ognl.Ognl.getValue(Ognl.java:413) ~[mybatis-3.2.2-3.2.2.jar:3.2.2] at org.apache.ibatis.ognl.Ognl.getValue(Ognl.java:395) ~[mybatis-3.2.2-3.2.2.jar:3.2.2] at org.apache.ibatis.scripting.xmltags.OgnlCache.getValue(OgnlCache.java:45) ~[mybatis-3.2.2-3.2.2.jar:3.2.2] ... 106 common frames omitted

springboot 连接不到oracle

java.sql.SQLException: ORA-01017: 用户名/口令无效; 登录被拒绝 at oracle.jdbc.driver.T4CTTIoer11.processError(T4CTTIoer11.java:509) ~[ojdbc8-19.3.0.0.0.jar:19.3.0.0.0] at oracle.jdbc.driver.T4CTTIoer11.processError(T4CTTIoer11.java:456) ~[ojdbc8-19.3.0.0.0.jar:19.3.0.0.0] at oracle.jdbc.driver.T4CTTIoer11.processError(T4CTTIoer11.java:451) ~[ojdbc8-19.3.0.0.0.jar:19.3.0.0.0] at oracle.jdbc.driver.T4CTTIfun.processError(T4CTTIfun.java:1040) ~[ojdbc8-19.3.0.0.0.jar:19.3.0.0.0] at oracle.jdbc.driver.T4CTTIoauthenticate.processError(T4CTTIoauthenticate.java:552) ~[ojdbc8-19.3.0.0.0.jar:19.3.0.0.0] at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:550) ~[ojdbc8-19.3.0.0.0.jar:19.3.0.0.0] at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:268) ~[ojdbc8-19.3.0.0.0.jar:19.3.0.0.0] at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:501) ~[ojdbc8-19.3.0.0.0.jar:19.3.0.0.0] at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:1292) ~[ojdbc8-19.3.0.0.0.jar:19.3.0.0.0] at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:1025) ~[ojdbc8-19.3.0.0.0.jar:19.3.0.0.0] at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:743) ~[ojdbc8-19.3.0.0.0.jar:19.3.0.0.0] at oracle.jdbc.driver.PhysicalConnection.connect(PhysicalConnection.java:793) ~[ojdbc8-19.3.0.0.0.jar:19.3.0.0.0] at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:57) ~[ojdbc8-19.3.0.0.0.jar:19.3.0.0.0] at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:747) ~[ojdbc8-19.3.0.0.0.jar:19.3.0.0.0] at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:562) ~[ojdbc8-19.3.0.0.0.jar:19.3.0.0.0] at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:119) ~[HikariCP-3.2.0.jar:na] at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:369) ~[HikariCP-3.2.0.jar:na] at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:198) ~[HikariCP-3.2.0.jar:na] at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:467) [HikariCP-3.2.0.jar:na] at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:541) [HikariCP-3.2.0.jar:na] at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:115) [HikariCP-3.2.0.jar:na] at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112) [HikariCP-3.2.0.jar:na] at org.springframework.jdbc.datasource.DataSourceUtils.fetchConnection(DataSourceUtils.java:157) [spring-jdbc-5.1.5.RELEASE.jar:5.1.5.RELEASE] at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:115) [spring-jdbc-5.1.5.RELEASE.jar:5.1.5.RELEASE] at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:78) [spring-jdbc-5.1.5.RELEASE.jar:5.1.5.RELEASE] at org.mybatis.spring.transaction.SpringManagedTransaction.openConnection(SpringManagedTransaction.java:82) [mybatis-spring-2.0.1.jar:2.0.1] at org.mybatis.spring.transaction.SpringManagedTransaction.getConnection(SpringManagedTransaction.java:68) [mybatis-spring-2.0.1.jar:2.0.1] at org.apache.ibatis.executor.BaseExecutor.getConnection(BaseExecutor.java:336) [mybatis-3.5.1.jar:3.5.1] at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:85) [mybatis-3.5.1.jar:3.5.1] at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:62) [mybatis-3.5.1.jar:3.5.1] at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:324) [mybatis-3.5.1.jar:3.5.1] at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156) [mybatis-3.5.1.jar:3.5.1] at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109) [mybatis-3.5.1.jar:3.5.1] at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:83) [mybatis-3.5.1.jar:3.5.1] at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:147) [mybatis-3.5.1.jar:3.5.1] at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140) [mybatis-3.5.1.jar:3.5.1] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_144] at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.8.0_144] at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:433) [mybatis-spring-2.0.1.jar:2.0.1] at com.sun.proxy.$Proxy58.selectList(Unknown Source) [na:na] at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:230) [mybatis-spring-2.0.1.jar:2.0.1] at org.apache.ibatis.binding.MapperMethod.executeForMany(MapperMethod.java:147) [mybatis-3.5.1.jar:3.5.1] at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:80) [mybatis-3.5.1.jar:3.5.1] at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:58) [mybatis-3.5.1.jar:3.5.1] at com.sun.proxy.$Proxy59.list(Unknown Source) [na:na] at com.bw.service.T_UserServiceImpl.list(T_UserServiceImpl.java:51) [classes/:na] at com.bw.controller.T_UserController.list(T_UserController.java:27) [classes/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_144] at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.8.0_144] at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189) [spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE] at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) [spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) [spring-webmvc-5.1.5.RELEASE.jar:5.1.5.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) [spring-webmvc-5.1.5.RELEASE.jar:5.1.5.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:800) [spring-webmvc-5.1.5.RELEASE.jar:5.1.5.RELEASE] at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) [spring-webmvc-5.1.5.RELEASE.jar:5.1.5.RELEASE] at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) [spring-webmvc-5.1.5.RELEASE.jar:5.1.5.RELEASE] at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) [spring-webmvc-5.1.5.RELEASE.jar:5.1.5.RELEASE] at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) [spring-webmvc-5.1.5.RELEASE.jar:5.1.5.RELEASE] at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:897) [spring-webmvc-5.1.5.RELEASE.jar:5.1.5.RELEASE] at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) [tomcat-embed-core-9.0.16.jar:9.0.16] at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) [spring-webmvc-5.1.5.RELEASE.jar:5.1.5.RELEASE] at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) [tomcat-embed-core-9.0.16.jar:9.0.16] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) [tomcat-embed-core-9.0.16.jar:9.0.16] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-9.0.16.jar:9.0.16] at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) [tomcat-embed-websocket-9.0.16.jar:9.0.16] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-9.0.16.jar:9.0.16] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-9.0.16.jar:9.0.16] at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) [spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-9.0.16.jar:9.0.16] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-9.0.16.jar:9.0.16] at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) [spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-9.0.16.jar:9.0.16] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-9.0.16.jar:9.0.16] at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) [spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-9.0.16.jar:9.0.16] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-9.0.16.jar:9.0.16] at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) [spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-9.0.16.jar:9.0.16] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-9.0.16.jar:9.0.16] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) [tomcat-embed-core-9.0.16.jar:9.0.16] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) [tomcat-embed-core-9.0.16.jar:9.0.16] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) [tomcat-embed-core-9.0.16.jar:9.0.16] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) [tomcat-embed-core-9.0.16.jar:9.0.16] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) [tomcat-embed-core-9.0.16.jar:9.0.16] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) [tomcat-embed-core-9.0.16.jar:9.0.16] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) [tomcat-embed-core-9.0.16.jar:9.0.16] at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) [tomcat-embed-core-9.0.16.jar:9.0.16] at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) [tomcat-embed-core-9.0.16.jar:9.0.16] at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) [tomcat-embed-core-9.0.16.jar:9.0.16] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) [tomcat-embed-core-9.0.16.jar:9.0.16] at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-embed-core-9.0.16.jar:9.0.16] at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [na:1.8.0_144] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [na:1.8.0_144] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-9.0.16.jar:9.0.16] at java.lang.Thread.run(Unknown Source) [na:1.8.0_144] 2019-08-14 16:43:34.873 ERROR 31464 --- [nio-8080-exec-1] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException: ### Error querying database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is java.sql.SQLException: ORA-01017: 用户名/口令无效; 登录被拒绝 ### The error may exist in file [F:\DianShang\YongHu\target\classes\com\bw\mapper\T_UserMapper.xml] ### The error may involve com.bw.mapper.T_UserMapper.list ### The error occurred while executing a query ### Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is java.sql.SQLException: ORA-01017: 用户名/口令无效; 登录被拒绝 ] with root cause java.sql.SQLException: ORA-01017: 用户名/口令无效; 登录被拒绝 at oracle.jdbc.driver.T4CTTIoer11.processError(T4CTTIoer11.java:509) ~[ojdbc8-19.3.0.0.0.jar:19.3.0.0.0] at oracle.jdbc.driver.T4CTTIoer11.processError(T4CTTIoer11.java:456) ~[ojdbc8-19.3.0.0.0.jar:19.3.0.0.0] at oracle.jdbc.driver.T4CTTIoer11.processError(T4CTTIoer11.java:451) ~[ojdbc8-19.3.0.0.0.jar:19.3.0.0.0] at oracle.jdbc.driver.T4CTTIfun.processError(T4CTTIfun.java:1040) ~[ojdbc8-19.3.0.0.0.jar:19.3.0.0.0] at oracle.jdbc.driver.T4CTTIoauthenticate.processError(T4CTTIoauthenticate.java:552) ~[ojdbc8-19.3.0.0.0.jar:19.3.0.0.0] at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:550) ~[ojdbc8-19.3.0.0.0.jar:19.3.0.0.0] at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:268) ~[ojdbc8-19.3.0.0.0.jar:19.3.0.0.0] at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:501) ~[ojdbc8-19.3.0.0.0.jar:19.3.0.0.0] at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:1292) ~[ojdbc8-19.3.0.0.0.jar:19.3.0.0.0] at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:1025) ~[ojdbc8-19.3.0.0.0.jar:19.3.0.0.0] at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:743) ~[ojdbc8-19.3.0.0.0.jar:19.3.0.0.0] at oracle.jdbc.driver.PhysicalConnection.connect(PhysicalConnection.java:793) ~[ojdbc8-19.3.0.0.0.jar:19.3.0.0.0] at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:57) ~[ojdbc8-19.3.0.0.0.jar:19.3.0.0.0] at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:747) ~[ojdbc8-19.3.0.0.0.jar:19.3.0.0.0] at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:562) ~[ojdbc8-19.3.0.0.0.jar:19.3.0.0.0] at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:119) ~[HikariCP-3.2.0.jar:na] at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:369) ~[HikariCP-3.2.0.jar:na] at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:198) ~[HikariCP-3.2.0.jar:na] at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:467) ~[HikariCP-3.2.0.jar:na] at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:541) ~[HikariCP-3.2.0.jar:na] at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:115) ~[HikariCP-3.2.0.jar:na] at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112) ~[HikariCP-3.2.0.jar:na] at org.springframework.jdbc.datasource.DataSourceUtils.fetchConnection(DataSourceUtils.java:157) ~[spring-jdbc-5.1.5.RELEASE.jar:5.1.5.RELEASE] at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:115) ~[spring-jdbc-5.1.5.RELEASE.jar:5.1.5.RELEASE] at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:78) ~[spring-jdbc-5.1.5.RELEASE.jar:5.1.5.RELEASE] at org.mybatis.spring.transaction.SpringManagedTransaction.openConnection(SpringManagedTransaction.java:82) ~[mybatis-spring-2.0.1.jar:2.0.1] at org.mybatis.spring.transaction.SpringManagedTransaction.getConnection(SpringManagedTransaction.java:68) ~[mybatis-spring-2.0.1.jar:2.0.1] at org.apache.ibatis.executor.BaseExecutor.getConnection(BaseExecutor.java:336) ~[mybatis-3.5.1.jar:3.5.1] at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:85) ~[mybatis-3.5.1.jar:3.5.1] at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:62) ~[mybatis-3.5.1.jar:3.5.1] at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:324) ~[mybatis-3.5.1.jar:3.5.1] at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156) ~[mybatis-3.5.1.jar:3.5.1] at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109) ~[mybatis-3.5.1.jar:3.5.1] at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:83) ~[mybatis-3.5.1.jar:3.5.1] at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:147) ~[mybatis-3.5.1.jar:3.5.1] at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140) ~[mybatis-3.5.1.jar:3.5.1] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_144] at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.8.0_144] at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:433) ~[mybatis-spring-2.0.1.jar:2.0.1] at com.sun.proxy.$Proxy58.selectList(Unknown Source) ~[na:na] at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:230) ~[mybatis-spring-2.0.1.jar:2.0.1] at org.apache.ibatis.binding.MapperMethod.executeForMany(MapperMethod.java:147) ~[mybatis-3.5.1.jar:3.5.1] at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:80) ~[mybatis-3.5.1.jar:3.5.1] at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:58) ~[mybatis-3.5.1.jar:3.5.1] at com.sun.proxy.$Proxy59.list(Unknown Source) ~[na:na] at com.bw.service.T_UserServiceImpl.list(T_UserServiceImpl.java:51) ~[classes/:na] at com.bw.controller.T_UserController.list(T_UserController.java:27) ~[classes/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_144] at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.8.0_144] at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE] at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) ~[spring-webmvc-5.1.5.RELEASE.jar:5.1.5.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) ~[spring-webmvc-5.1.5.RELEASE.jar:5.1.5.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:800) ~[spring-webmvc-5.1.5.RELEASE.jar:5.1.5.RELEASE] at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) ~[spring-webmvc-5.1.5.RELEASE.jar:5.1.5.RELEASE] at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) ~[spring-webmvc-5.1.5.RELEASE.jar:5.1.5.RELEASE] at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) ~[spring-webmvc-5.1.5.RELEASE.jar:5.1.5.RELEASE] at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) ~[spring-webmvc-5.1.5.RELEASE.jar:5.1.5.RELEASE] at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:897) ~[spring-webmvc-5.1.5.RELEASE.jar:5.1.5.RELEASE] at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) ~[tomcat-embed-core-9.0.16.jar:9.0.16] at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) ~[spring-webmvc-5.1.5.RELEASE.jar:5.1.5.RELEASE] at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) ~[tomcat-embed-core-9.0.16.jar:9.0.16] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) ~[tomcat-embed-core-9.0.16.jar:9.0.16] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.16.jar:9.0.16] at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) ~[tomcat-embed-websocket-9.0.16.jar:9.0.16] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.16.jar:9.0.16] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.16.jar:9.0.16] at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.16.jar:9.0.16] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.16.jar:9.0.16] at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.16.jar:9.0.16] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.16.jar:9.0.16] at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.16.jar:9.0.16] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.16.jar:9.0.16] at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.16.jar:9.0.16] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.16.jar:9.0.16] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) ~[tomcat-embed-core-9.0.16.jar:9.0.16] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) [tomcat-embed-core-9.0.16.jar:9.0.16] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) [tomcat-embed-core-9.0.16.jar:9.0.16] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) [tomcat-embed-core-9.0.16.jar:9.0.16] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) [tomcat-embed-core-9.0.16.jar:9.0.16] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) [tomcat-embed-core-9.0.16.jar:9.0.16] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) [tomcat-embed-core-9.0.16.jar:9.0.16] at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) [tomcat-embed-core-9.0.16.jar:9.0.16] at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) [tomcat-embed-core-9.0.16.jar:9.0.16] at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) [tomcat-embed-core-9.0.16.jar:9.0.16] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) [tomcat-embed-core-9.0.16.jar:9.0.16] at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-embed-core-9.0.16.jar:9.0.16] at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [na:1.8.0_144] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [na:1.8.0_144] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-9.0.16.jar:9.0.16] at java.lang.Thread.run(Unknown Source) [na:1.8.0_144] plsql能连接用户,但是项目死活就是连不上百度了好多方法都不行

ibatis Oracle函数配置(字符串格式不匹配)

用iBATIS配置数据库函数调用的问题,出现的是ORA-01861: literal does not match format string(字符串格式不匹配) 求大虾 解救 急 下面是关键代码 这是数据库函数的参数列表 (pi_Money IN NUMBER, --交易金额 pi_BankNo IN VARCHAR2, -- 银行代码 pi_FundId IN VARCHAR2, -- 目标基金 pi_Apkind IN VARCHAR2, --购买方式 pi_CustNo IN VARCHAR2, -- 交易账号 pi_Apdt IN DATE, -- 申请日期 po_fee OUT NUMBER, -- 手续费 po_ErrCode OUT VARCHAR2, -- 返回代码 po_ErrMsg OUT VARCHAR2 -- 返回信息 ibatis的配置 <select id="getInternetFee" statementType="CALLABLE" parameterType="map"> <![CDATA[ {#{flag,mode=OUT,jdbcType=INTEGER}=call f_GetInternetFee(#{pi_Money,mode=IN,jdbcType=DOUBLE}, #{pi_BankNo,mode=IN,jdbcType=VARCHAR}, #{pi_FundId,mode=IN,jdbcType=VARCHAR}, #{pi_Apkind,mode=IN,jdbcType=VARCHAR}, #{pi_CustNo,mode=IN,jdbcType=VARCHAR}, to_date('2014/11/11','yyyy-MM-dd'), #{po_fee,mode=OUT,jdbcType=DOUBLE}, #{po_ErrCode,mode=OUT,jdbcType=VARCHAR}, #{po_ErrMsg,mode=OUT,jdbcType=VARCHAR})} ]]> </select> 这是测试代码 Map<String,Object> map=new HashMap<String, Object>(); map.put("pi_Money", 50000.0); map.put("pi_BankNo", "095"); map.put("pi_FundId", "050002"); map.put("pi_Apkind", "022"); map.put("pi_CustNo", "001553218"); map.put("pi_Apdt", new Date()); internetFeeCenterDao.getInternetFee(map); System.out.println(map.get("po_fee")); 报错的结果: 2015-07-03 15:58:05 [java.sql.PreparedStatement]-[DEBUG] ==> Executing: {?=call f_GetInternetFee (?, ?, ?, ?, ?, ?, ?, ?, ? )} -(:28) 2015-07-03 15:58:05 [java.sql.PreparedStatement]-[DEBUG] ==> Parameters: 50000.0(Double), 095(String), 050002(String), 022(String), 001553218(String), 2015-01-11(String) -(:28) org.apache.ibatis.exceptions.PersistenceException: ### Error querying database. Cause: java.sql.SQLException: ORA-01861: literal does not match format string ORA-06512: at line 1 ### The error may involve com.bosera.trade.dao.center.IInternetFeeCenterDao.getInternetFee-Inline ### The error occurred while setting parameters ### Cause: java.sql.SQLException: ORA-01861: literal does not match format string ORA-06512: at line 1 at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:8) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:80) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:72) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectOne(DefaultSqlSession.java:38) at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:75) at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:38) at $Proxy10.getInternetFee(Unknown Source) at com.bosera.trade.junittest.JunitMybatisTest.test(JunitMybatisTest.java:62) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:73) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:46) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41) at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) at org.junit.runners.ParentRunner.run(ParentRunner.java:220) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:46) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197) Caused by: java.sql.SQLException: ORA-01861: literal does not match format string ORA-06512: at line 1

org.apache.ibatis.reflection.ReflectionException:

这个报错什么意思? 十二月 23, 2016 9:31:15 上午 org.apache.catalina.core.StandardWrapperValve invoke 严重: Servlet.service() for servlet [spring-dispatcher] in context with path [/JFWorkingHourSystem] threw exception [Request processing failed; nested exception is org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'page' in 'class java.lang.Long'] with root cause org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'page' in 'class java.lang.Long' at org.apache.ibatis.reflection.Reflector.getGetInvoker(Reflector.java:377) at org.apache.ibatis.reflection.MetaClass.getGetInvoker(MetaClass.java:167) at org.apache.ibatis.reflection.wrapper.BeanWrapper.getBeanProperty(BeanWrapper.java:149) at org.apache.ibatis.reflection.wrapper.BeanWrapper.get(BeanWrapper.java:45) at org.apache.ibatis.reflection.MetaObject.getValue(MetaObject.java:113) at org.apache.ibatis.scripting.xmltags.DynamicContext$ContextMap.get(DynamicContext.java:94) at org.apache.ibatis.scripting.xmltags.DynamicContext$ContextAccessor.getProperty(DynamicContext.java:113) at ognl.OgnlRuntime.getProperty(OgnlRuntime.java:2317) at ognl.ASTProperty.getValueBody(ASTProperty.java:114) at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:212) at ognl.SimpleNode.getValue(SimpleNode.java:258) at ognl.ASTNotEq.getValueBody(ASTNotEq.java:50) at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:212) at ognl.SimpleNode.getValue(SimpleNode.java:258) at ognl.Ognl.getValue(Ognl.java:494) at ognl.Ognl.getValue(Ognl.java:644) at ognl.Ognl.getValue(Ognl.java:619) at org.apache.ibatis.scripting.xmltags.OgnlCache.getValue(OgnlCache.java:45) at org.apache.ibatis.scripting.xmltags.ExpressionEvaluator.evaluateBoolean(ExpressionEvaluator.java:29) at org.apache.ibatis.scripting.xmltags.IfSqlNode.apply(IfSqlNode.java:30) at org.apache.ibatis.scripting.xmltags.MixedSqlNode.apply(MixedSqlNode.java:29) at org.apache.ibatis.scripting.xmltags.DynamicSqlSource.getBoundSql(DynamicSqlSource.java:37) at org.apache.ibatis.mapping.MappedStatement.getBoundSql(MappedStatement.java:275) at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:79) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:104) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:98) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectOne(DefaultSqlSession.java:62) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358) at com.sun.proxy.$Proxy19.selectOne(Unknown Source) at org.mybatis.spring.SqlSessionTemplate.selectOne(SqlSessionTemplate.java:163) at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:63) at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:43) at com.sun.proxy.$Proxy30.selectByPrimaryKey(Unknown Source) at com.bjhnd.Service.TiZhiCeDingJiYunDongChuFang.Impl.JiBenXinXiServiceImpl.GetJiBenXinXi(JiBenXinXiServiceImpl.java:41) at com.bjhnd.Actions.TiZhiCeDingJiYunDongChuFang.JiBenXinXiAction.GetJiBenXinXi(JiBenXinXiAction.java:22) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:215) at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:749) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:689) at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:83) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:938) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:870) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:961) at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:863) at javax.servlet.http.HttpServlet.service(HttpServlet.java:648) at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:837) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.logging.log4j.core.web.Log4jServletFilter.doFilter(Log4jServletFilter.java:66) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:617) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:668) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2503) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2492) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745)![图片说明](https://img-ask.csdn.net/upload/201612/23/1482457163_773794.png) 我想要获取当前新用户的ID,查询他的信息。

Maven install 时报错!!!

``` [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] Ticketing [INFO] Ticketing Domain [INFO] Ticketing Service Interface [INFO] Ticketing DAO Interface [INFO] Ticketing DAO Ibatis Implementation [INFO] Ticketing Service Implementation [INFO] Ticketing Web Application [INFO] [INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Ticketing 1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ ticketing --- [INFO] Installing G:\EclipseLunaWorkspace\Ticketing\pom.xml to C:\Users\80883846\.m2\repository\com\hkt\engineering\oneoss\ticketing\1.0-SNAPSHOT\ticketing-1.0-SNAPSHOT.pom [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Ticketing Domain 1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [WARNING] The POM for net.sf.ehcache:ehcache:jar:1.4.1 is missing, no dependency information available [WARNING] The POM for org.springframework:spring-test:jar:2.5.6 is missing, no dependency information available [WARNING] The POM for org.springframework:spring-jdbc:jar:2.5.6 is missing, no dependency information available [WARNING] The POM for org.springframework:spring-orm:jar:2.5.6 is missing, no dependency information available [WARNING] The POM for org.springframework:spring-aop:jar:2.5.6 is missing, no dependency information available [WARNING] The POM for org.springframework:spring-aspects:jar:2.5.6 is missing, no dependency information available [WARNING] The POM for org.springframework:spring-context-support:jar:2.5.6 is missing, no dependency information available [WARNING] The POM for org.springframework:spring-webmvc:jar:2.5.6 is missing, no dependency information available [WARNING] The POM for com.oracle:classes12:jar:10.2.0.2.0 is missing, no dependency information available [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Ticketing ......................................... SUCCESS [ 0.282 s] [INFO] Ticketing Domain .................................. FAILURE [ 0.490 s] [INFO] Ticketing Service Interface ....................... SKIPPED [INFO] Ticketing DAO Interface ........................... SKIPPED [INFO] Ticketing DAO Ibatis Implementation ............... SKIPPED [INFO] Ticketing Service Implementation .................. SKIPPED [INFO] Ticketing Web Application ......................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.878 s [INFO] Finished at: 2017-07-03T16:02:15+08:00 [INFO] Final Memory: 7M/155M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project domain: Could not resolve dependencies for project com.hkt.engineering.oneoss:domain:jar:1.0-SNAPSHOT: The following artifacts could not be resolved: org.springframework:spring-test:jar:2.5.6, org.springframework:spring-jdbc:jar:2.5.6, org.springframework:spring-orm:jar:2.5.6, org.springframework:spring-aop:jar:2.5.6, org.springframework:spring-aspects:jar:2.5.6, org.springframework:spring-context-support:jar:2.5.6, org.springframework:spring-webmvc:jar:2.5.6, org.springframework:spring-context:jar:2.0.8, org.springframework:spring-dao:jar:2.0.8, org.springframework:spring-beans:jar:2.0.8, org.springframework:spring-core:jar:2.0.8, com.oracle:classes12:jar:10.2.0.2.0: Failure to find org.springframework:spring-test:jar:2.5.6 in http://10.252.15.160:28081/nexus/repository/maven-public/ was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :domain ``` 下载了对应jar包,放在对应的文件夹,删掉旧的,可是再次install时还是会报错,怎么解决呢?

昨天弄到半夜,Spring2.5 Ibatis2.3 注解注入,配置事务管理不成功

<p>Spring2.5+Ibatis2.3 用注解方式注入,事务管理不成功。。。。。<br><br><br>业务层:<br></p> <pre name="code" class="java">@Service public class UserServiceImpl implements UserService { @Resource private UserDao userDao; public UserDao getUserDao() { return userDao; } public void setUserDao(UserDao userDao) { this.userDao = userDao; } @Override public void insertUser() { User user = new User(); user.setName("a"); userDao.addUser(user); //第2次插入会出错 User user2 = new User(); user2.setName("bmmmmmmmmmmmmm"); userDao.addUser(user2); } }</pre> <p>  <br><br><br>DAO:</p> <pre name="code" class="java">public class BaseDaoImpl extends SqlMapClientDaoSupport{ @Resource(name = "sqlMapClient") private SqlMapClient sqlMapClient; @PostConstruct public void initSqlMapClient(){ super.setSqlMapClient(sqlMapClient); } } </pre> <p> </p> <p> </p> <pre name="code" class="java">@Repository("userDao") public class UserDaoImpl extends BaseDaoImpl implements UserDao{ public UserDaoImpl() { super(); System.out.println("UserDaoImplUserDaoImplUserDaoImplUserDaoImpl"); } @Override public void addUser(User user) { this.getSqlMapClientTemplate().insert("User.addUser",user); } }</pre>   <p>test-servlet.xml:</p> <p> </p> <pre name="code" class="xml">&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p" xmlns:context="http://www.springframework.org/schema/context" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd"&gt; &lt;context:annotation-config /&gt; &lt;context:component-scan base-package="com.edgar" /&gt; &lt;bean class="org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter" /&gt; &lt;bean class="org.springframework.web.servlet.view.InternalResourceViewResolver" p:prefix="/WEB-INF/view/" p:suffix=".jsp" /&gt; &lt;bean id="multipartResolver" class="org.springframework.web.multipart.commons.CommonsMultipartResolver" p:defaultEncoding="utf-8" /&gt; &lt;/beans&gt; </pre> <p> </p> <p>applicationContext.xml:</p> <p> </p> <pre name="code" class="xml">&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p" xmlns:context="http://www.springframework.org/schema/context" xmlns:aop="http://www.springframework.org/schema/aop" xmlns:tx="http://www.springframework.org/schema/tx" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd"&gt; &lt;bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close"&gt; &lt;property name="driverClassName"&gt; &lt;value&gt;com.mysql.jdbc.Driver&lt;/value&gt; &lt;/property&gt; &lt;property name="url"&gt; &lt;value&gt;jdbc:mysql://127.0.0.1:3306/psimserver?autoReconnect=true&amp;amp;useUnicode=true&amp;amp;characterEncoding=GBK&lt;/value&gt; &lt;/property&gt; &lt;property name="username"&gt; &lt;value&gt;psim&lt;/value&gt; &lt;/property&gt; &lt;property name="password"&gt; &lt;value&gt;psim&lt;/value&gt; &lt;/property&gt; &lt;property name="initialSize"&gt; &lt;value&gt;50&lt;/value&gt; &lt;/property&gt; &lt;property name="maxActive"&gt; &lt;value&gt;1000&lt;/value&gt; &lt;/property&gt; &lt;/bean&gt; &lt;bean id="sqlMapClient" class="org.springframework.orm.ibatis.SqlMapClientFactoryBean"&gt; &lt;property name="configLocation"&gt; &lt;value&gt;classpath:sql-map-config.xml&lt;/value&gt; &lt;/property&gt; &lt;property name="dataSource"&gt; &lt;ref bean="dataSource" /&gt; &lt;/property&gt; &lt;/bean&gt; &lt;bean id="transactionManager" class="org.springframework.jdbc.datasource.DataSourceTransactionManager"&gt; &lt;property name="dataSource"&gt; &lt;ref local="dataSource" /&gt; &lt;/property&gt; &lt;/bean&gt; &lt;tx:annotation-driven transaction-manager="transactionManager" /&gt; &lt;bean id="sqlMapClientTemplate" class="org.springframework.orm.ibatis.SqlMapClientTemplate"&gt; &lt;property name="sqlMapClient"&gt; &lt;ref bean="sqlMapClient" /&gt; &lt;/property&gt; &lt;/bean&gt; &lt;!-- &lt;bean id="userService" class="com.edgar.service.impl.UserServiceImpl"&gt; &lt;property name="userDao"&gt; &lt;ref bean="userDao" /&gt; &lt;/property&gt; &lt;/bean&gt; &lt;bean id="userDao" class="com.edgar.dao.impl.UserDaoImpl"&gt; &lt;property name="sqlMapClientTemplate"&gt; &lt;ref bean="sqlMapClientTemplate" /&gt; &lt;/property&gt; &lt;/bean&gt; --&gt; &lt;aop:config&gt; &lt;aop:pointcut id="serviceMethods" expression="execution(* com.edgar.service.*.*(..))" /&gt; &lt;aop:advisor advice-ref="txAdvice" pointcut-ref="serviceMethods" /&gt; &lt;/aop:config&gt; &lt;aop:aspectj-autoproxy /&gt; &lt;tx:advice id="txAdvice" transaction-manager="transactionManager"&gt; &lt;tx:attributes&gt; &lt;tx:method name="insert*" propagation="REQUIRED" isolation="DEFAULT" /&gt; &lt;tx:method name="update*" propagation="REQUIRED" isolation="DEFAULT" /&gt; &lt;tx:method name="delete*" propagation="REQUIRED" isolation="DEFAULT" /&gt; &lt;tx:method name="*" propagation="REQUIRED" isolation="DEFAULT" /&gt; &lt;/tx:attributes&gt; &lt;/tx:advice&gt; &lt;bean class="org.springframework.beans.factory.annotation.RequiredAnnotationBeanPostProcessor" /&gt; &lt;/beans&gt; </pre> <p> </p> <p>Service中第二次插入记录会报错,事务应该回滚,但是没有回滚</p> <p><strong><br></strong></p> <p><span style="color: #ff6600; font-size: small;"><strong>如果我把Service中的 @Resource 和 UserDaoImpl中的 @Repository("userDao") 这两个注解去掉,在applicationContext.xml中直接通过bean配置</strong></span></p> <p><span style="color: #ff6600; font-size: small;"><strong>(上面配置中userService和userDao是注释掉了,取消注释),事务管理是起作用的。</strong></span></p> <p> </p> <p>代码有点长,但是大家应该一看就明白,昨天弄了一晚上,很着急。。 我到底哪里配错了啊??</p> <p> </p>

oracle mybatis一次执行多条sql,提示SQL命令未正确结束

每条sql结尾带分号就报同样错误,单条sql的也是,不单是insert,该问题不针对insert ``` ### The error occurred while setting parameters ### SQL: alter session force parallel query parallel 8;select * from c_tbtranslateconfig where intdel=0;alter session disable parallel query; ### Cause: java.sql.SQLSyntaxErrorException: ORA-00933: SQL 命令未正确结束 mybaits: mybatis-spring-boot-starter:1.3.2 oracle驱动包:com.oracle.ojdbc6:11.2.0.4 ```

为什么SpringBoot2.1.1中引入mybatis依赖就不自动编译了?

在Springboot2.1.1 pom中添加 <dependency> <groupId>org.mybatis.spring.boot</groupId> <artifactId>mybatis-spring-boot-starter</artifactId> <version>1.3.2</version> </dependency> 整个项目就不编译了 环境 JDK1.8 maven3.5

oracle 连接的问题

# # An unexpected error has been detected by HotSpot Virtual Machine: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d98b937, pid=56876, tid=157536 # # Java VM: Java HotSpot(TM) Server VM (1.5.0_06-b05 mixed mode) # Problematic frame: # V [jvm.dll+0x10b937] # --------------- T H R E A D --------------- Current thread (0x563214a0): JavaThread "http-0.0.0.0-80-1" daemon [_thread_in_vm, id=157536] siginfo: ExceptionCode=0xc0000005, reading address 0x00000008 Registers: EAX=0x00000000, EBX=0x62f0f17c, ECX=0x00000000, EDX=0x5433f7bc ESP=0x5821e5f0, EBP=0x5821e620, ESI=0x563214a0, EDI=0x5433f7b4 EIP=0x6d98b937, EFLAGS=0x00010246 Top of Stack: (sp=0x5821e5f0) 0x5821e5f0: 56321560 5821eb10 5821eb10 5821eb10 0x5821e600: 56321560 7c85fdaf 7c800000 5821e614 0x5821e610: 58263288 56321560 62f0127e 5433f7b4 0x5821e620: 56321560 62f01296 00000000 5821eb10 0x5821e630: 5433f7b8 62f0f190 00000000 5821e654 0x5821e640: 5821e654 00000000 00001156 001945b0 0x5821e650: 00000048 4a5f0000 5f617661 6361726f 0x5821e660: 6a5f656c 5f636264 76697264 545f7265 Instructions: (pc=0x6d98b937) 0x6d98b927: b3 f2 ff 8b 45 08 85 c0 75 04 33 c9 eb 02 8b 08 0x6d98b937: 8b 51 08 83 c1 08 56 ff 52 2c 8b 46 04 85 c0 0f Stack: [0x581e0000,0x58220000), sp=0x5821e5f0, free space=249k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) V [jvm.dll+0x10b937] Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) j oracle.jdbc.driver.T2CConnection.t2cCreateState([BI[BI[BI[BISI[S[B[B)I+0 j oracle.jdbc.driver.T2CConnection.logon()V+589 j oracle.jdbc.driver.PhysicalConnection.<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Properties;Loracle/jdbc/driver/OracleDriverExtension;)V+370 j oracle.jdbc.driver.T2CConnection.<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Properties;Loracle/jdbc/driver/OracleDriverExtension;)V+10 j oracle.jdbc.driver.T2CDriverExtension.getConnection(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Properties;)Ljava/sql/Connection;+67 j oracle.jdbc.driver.OracleDriver.connect(Ljava/lang/String;Ljava/util/Properties;)Ljava/sql/Connection;+831 j org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(Ljavax/security/auth/Subject;Ljavax/resource/spi/ConnectionRequestInfo;)Ljavax/resource/spi/ManagedConnection;+110 j org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(Ljavax/security/auth/Subject;Ljavax/resource/spi/ConnectionRequestInfo;)Lorg/jboss/resource/connectionmanager/ConnectionListener;+6 j org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(Ljavax/security/auth/Subject;Ljavax/resource/spi/ConnectionRequestInfo;)Lorg/jboss/resource/connectionmanager/ConnectionListener;+428 j org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(Ljavax/transaction/Transaction;Ljavax/security/auth/Subject;Ljavax/resource/spi/ConnectionRequestInfo;)Lorg/jboss/resource/connectionmanager/ConnectionListener;+68 j org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(Ljavax/transaction/Transaction;Ljavax/security/auth/Subject;Ljavax/resource/spi/ConnectionRequestInfo;)Lorg/jboss/resource/connectionmanager/ConnectionListener;+7 j org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(Ljavax/security/auth/Subject;Ljavax/resource/spi/ConnectionRequestInfo;)Lorg/jboss/resource/connectionmanager/ConnectionListener;+125 j org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(Ljavax/resource/spi/ManagedConnectionFactory;Ljavax/resource/spi/ConnectionRequestInfo;)Ljava/lang/Object;+51 j org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(Ljavax/resource/spi/ManagedConnectionFactory;Ljavax/resource/spi/ConnectionRequestInfo;)Ljava/lang/Object;+6 j org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection()Ljava/sql/Connection;+9 j org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(Ljavax/sql/DataSource;)Ljava/sql/Connection;+79 j org.springframework.jdbc.datasource.TransactionAwareDataSourceProxy.getConnection()Ljava/sql/Connection;+21 j org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(Ljavax/sql/DataSource;)Ljava/sql/Connection;+79 j org.springframework.jdbc.datasource.DataSourceUtils.getConnection(Ljavax/sql/DataSource;)Ljava/sql/Connection;+1 j org.springframework.orm.ibatis.SqlMapClientTemplate.execute(Lorg/springframework/orm/ibatis/SqlMapClientCallback;)Ljava/lang/Object;+90 j org.springframework.orm.ibatis.SqlMapClientTemplate.queryForObject(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;+11 j com.taobao.et.biz.dal.BaseDAO.queryForObject(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;+8 j com.taobao.et.biz.dal.core.ibatis.IbatisCityAirportDAO.getCountAirports(Lcom/taobao/et/biz/dal/query/CityAirportQuery;)I+4 j com.taobao.et.biz.dal.core.ibatis.IbatisCityAirportDAO.getAirports(Lcom/taobao/et/biz/dal/query/CityAirportQuery;)Ljava/util/List;+2 j com.taobao.et.biz.core.common.impl.DefaultCityAirportManager.getAirports(Lcom/taobao/et/biz/dal/query/CityAirportQuery;)Ljava/util/List;+5 j com.taobao.et.biz.ao.agent.impl.DefaultCityAirportAO.queryAirPorts(Lcom/taobao/et/biz/dal/query/CityAirportQuery;)Lcom/alibaba/biz/command/result/Result;+23 j com.mckinley.web.auction.module.screen.et.AirportList.execute(Lcom/alibaba/turbine/service/rundata/RunData;Lcom/alibaba/service/template/TemplateContext;)V+122 j com.alibaba.turbine.module.TemplateModule.execute(Lcom/alibaba/turbine/service/rundata/RunData;)V+9 j com.alibaba.turbine.pipeline.PerformScreenTemplateValve.performScreenModule(Lcom/alibaba/turbine/service/rundata/RunData;)V+98 j com.alibaba.turbine.pipeline.PerformScreenTemplateValve.invoke(Lcom/alibaba/turbine/service/rundata/RunData;)Lcom/alibaba/service/pipeline/ValveForward;+21 j com.alibaba.turbine.pipeline.AbstractValve.invoke(Lcom/alibaba/service/pipeline/PipelineContext;)Lcom/alibaba/service/pipeline/ValveForward;+64 j com.alibaba.service.pipeline.DefaultPipeline.invokeNext(Lcom/alibaba/service/pipeline/PipelineContext;)V+170 j com.alibaba.service.pipeline.DefaultPipeline.invoke(Lcom/alibaba/service/pipeline/PipelineContext;)V+8 j com.alibaba.turbine.pipeline.ChooseValve$Condition.invokeSubPipeline(Lcom/alibaba/turbine/service/rundata/RunData;)V+22 j com.alibaba.turbine.pipeline.ChooseValve.invoke(Lcom/alibaba/turbine/service/rundata/RunData;)Lcom/alibaba/service/pipeline/ValveForward;+43 j com.alibaba.turbine.pipeline.AbstractValve.invoke(Lcom/alibaba/service/pipeline/PipelineContext;)Lcom/alibaba/service/pipeline/ValveForward;+64 j com.alibaba.service.pipeline.DefaultPipeline.invokeNext(Lcom/alibaba/service/pipeline/PipelineContext;)V+170 j com.alibaba.service.pipeline.DefaultPipeline.invoke(Lcom/alibaba/service/pipeline/PipelineContext;)V+8 j com.alibaba.service.pipeline.TryCatchFinallyValve.invokeTryPipeline(Lcom/alibaba/service/pipeline/PipelineContext;)V+22 j com.alibaba.webx.WebxControllerServlet.handleRequest(Lcom/alibaba/webx/service/rundata/RunData;)V+114 j com.alibaba.webx.controller.AbstractWebxControllerServlet.doGet(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+61 j javax.servlet.http.HttpServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+35 j javax.servlet.http.HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+30 j org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+374 j org.apache.catalina.core.ApplicationFilterChain.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+101 j com.alibaba.webx.filter.rundata.RunDataFilter.doFilter(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Ljavax/servlet/FilterChain;)V+83 j com.alibaba.webx.filter.AbstractFilter.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Ljavax/servlet/FilterChain;)V+73 j org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+117 j org.apache.catalina.core.ApplicationFilterChain.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+101 j org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Ljavax/servlet/FilterChain;)V+61 j org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+117 j org.apache.catalina.core.ApplicationFilterChain.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+101 j org.apache.catalina.core.StandardWrapperValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+778 j org.apache.catalina.core.StandardContextValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+283 j org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+349 j org.jboss.web.tomcat.security.JaccContextValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+42 j org.apache.catalina.core.StandardHostValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+64 j org.apache.catalina.valves.ErrorReportValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+6 j org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+35 j org.apache.catalina.core.StandardEngineValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+42 j org.apache.catalina.connector.CoyoteAdapter.service(Lorg/apache/coyote/Request;Lorg/apache/coyote/Response;)V+157 j org.apache.coyote.http11.Http11Processor.process(Ljava/net/Socket;)V+422 j org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Ljava/net/Socket;)Z+82 j org.apache.tomcat.util.net.JIoEndpoint$Worker.run()V+41 j java.lang.Thread.run()V+11 v ~StubRoutines::call_stub --------------- P R O C E S S --------------- Java Threads: ( => current thread ) 0x53013d80 JavaThread "IdleRemover" daemon [_thread_blocked, id=157800] 0x55d37808 JavaThread "ajp-0.0.0.0-8009-Acceptor-0" daemon [_thread_in_native, id=157296] =>0x563214a0 JavaThread "http-0.0.0.0-80-1" daemon [_thread_in_vm, id=157536] 0x56321008 JavaThread "http-0.0.0.0-80-Acceptor-0" daemon [_thread_in_native, id=159308] 0x55f4c008 JavaThread "Thread-6" [_thread_blocked, id=159684] 0x55fece08 JavaThread "JBossLifeThread" [_thread_blocked, id=158620] 0x556aba68 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=156964] 0x56b8dde0 JavaThread "Image Fetcher 0" daemon [_thread_blocked, id=158664] 0x53dea840 JavaThread "AWT-Windows" daemon [_thread_in_native, id=14764] 0x55668008 JavaThread "SocketConnectorIoProcessor-1.0" [_thread_in_native, id=158464] 0x55f1cb60 JavaThread "SocketConnector-1" [_thread_in_native, id=157968] 0x55ccdbe8 JavaThread "LOGSTAT-WRITE" [_thread_blocked, id=159612] 0x55ccd530 JavaThread "taobao.remoting.core.TimeoutRespScanner" daemon [_thread_blocked, id=155196] 0x55e6ab98 JavaThread "SocketConnectorIoProcessor-0.0" [_thread_in_native, id=159184] 0x5505b8c0 JavaThread "SocketConnector-0" [_thread_in_native, id=159312] 0x53ec7db0 JavaThread "PooledByteBufferExpirer-0" daemon [_thread_blocked, id=157704] 0x55cf5b40 JavaThread "ConfigClientNotifier" [_thread_blocked, id=158056] 0x5449cd48 JavaThread "ConfigClientWorker-Default" [_thread_blocked, id=157160] 0x53f85df8 JavaThread "pool-2-thread-1" [_thread_blocked, id=157740] 0x54655cf8 JavaThread "Connection Consumer for dest Subscription[subId=-2147483648connection=ConnectionToken:ID:3/a74d5dcd1e0cd21616579c941de72db1 destination=QUEUE.A messageSelector=null Local Create] id=2" [_thread_blocked, id=159620] 0x54291518 JavaThread "Connection Consumer for dest Subscription[subId=-2147483648connection=ConnectionToken:ID:1/2e1b1d05b672aa5e20114ae69f382cd1 destination=QUEUE.B messageSelector=null Local Create] id=1" [_thread_blocked, id=159040] 0x54291008 JavaThread "UILServerILService Accept Thread" [_thread_in_native, id=158356] 0x5484e890 JavaThread "TimeoutFactory-0" daemon [_thread_blocked, id=158224] 0x545d6e60 JavaThread "JCA PoolFiller" [_thread_blocked, id=158764] 0x53e8be58 JavaThread "Timer-2" daemon [_thread_blocked, id=158040] 0x5354e6a8 JavaThread "HSQLDB Timer @19ac2e3" daemon [_thread_blocked, id=148028] 0x534ece98 JavaThread "DefaultQuartzScheduler_QuartzSchedulerThread" [_thread_blocked, id=154220] 0x53a08008 JavaThread "DefaultQuartzScheduler_Worker-9" [_thread_blocked, id=156012] 0x53f92d90 JavaThread "DefaultQuartzScheduler_Worker-8" [_thread_blocked, id=156556] 0x544afe78 JavaThread "DefaultQuartzScheduler_Worker-7" [_thread_blocked, id=159084] 0x555dba48 JavaThread "DefaultQuartzScheduler_Worker-6" [_thread_blocked, id=157464] 0x555a7e60 JavaThread "DefaultQuartzScheduler_Worker-5" [_thread_blocked, id=157716] 0x545dc348 JavaThread "DefaultQuartzScheduler_Worker-4" [_thread_blocked, id=158884] 0x5489b440 JavaThread "DefaultQuartzScheduler_Worker-3" [_thread_blocked, id=157928] 0x54b51910 JavaThread "DefaultQuartzScheduler_Worker-2" [_thread_blocked, id=159476] 0x54b51788 JavaThread "DefaultQuartzScheduler_Worker-1" [_thread_blocked, id=159192] 0x54b51bc8 JavaThread "DefaultQuartzScheduler_Worker-0" [_thread_blocked, id=157388] 0x555ab448 JavaThread "WorkManager(2)-1" daemon [_thread_blocked, id=156808] 0x5473a008 JavaThread "Thread-7" daemon [_thread_blocked, id=158244] 0x543e7b08 JavaThread "JBossMQ Cache Reference Softner" daemon [_thread_blocked, id=158760] 0x54153418 JavaThread "ContainerBackgroundProcessor[StandardEngine[jboss.web]]" daemon [_thread_blocked, id=156692] 0x5360cc68 JavaThread "SubscriptionWatchDog" [_thread_blocked, id=157864] 0x530dd310 JavaThread "ServerSocketRefresh" daemon [_thread_blocked, id=157876] 0x54e8fd98 JavaThread "AcceptorThread#0:3873" [_thread_in_native, id=154144] 0x5402ad78 JavaThread "ServerSocketRefresh" daemon [_thread_blocked, id=158588] 0x53e5de20 JavaThread "AcceptorThread#0:4446" [_thread_in_native, id=152108] 0x53be27c8 JavaThread "PooledInvokerAcceptor#0-4445" [_thread_in_native, id=159688] 0x53ca6190 JavaThread "RMI TCP Accept-4444" daemon [_thread_in_native, id=159200] 0x53b8fa40 JavaThread "Listener:4059" daemon [_thread_in_native, id=159176] 0x53c6bae0 JavaThread "Thread-5" daemon [_thread_blocked, id=158080] 0x535e1988 JavaThread "Thread-4" daemon [_thread_blocked, id=157260] 0x5306fc80 JavaThread "Listener:4057" daemon [_thread_in_native, id=159436] 0x53dd5e40 JavaThread "JBoss System Threads(1)-2" daemon [_thread_in_native, id=159408] 0x53d88460 JavaThread "GC Daemon" daemon [_thread_blocked, id=159540] 0x53f35bd8 JavaThread "RMI Reaper" [_thread_blocked, id=159284] 0x53cf51c8 JavaThread "Timer-1" daemon [_thread_blocked, id=159024] 0x53fd9078 JavaThread "RMI TCP Accept-2098" daemon [_thread_in_native, id=155764] 0x536879b8 JavaThread "JBoss System Threads(1)-1" daemon [_thread_in_native, id=158868] 0x53c4a528 JavaThread "ScannerThread" daemon [_thread_blocked, id=155876] 0x5395cbf8 JavaThread "Timer-0" daemon [_thread_blocked, id=155836] 0x00038388 JavaThread "DestroyJavaVM" [_thread_blocked, id=158988] 0x52ff0838 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=159304] 0x52fef438 JavaThread "CompilerThread1" daemon [_thread_blocked, id=158428] 0x52fee4d0 JavaThread "CompilerThread0" daemon [_thread_blocked, id=159288] 0x52fed528 JavaThread "AdapterThread" daemon [_thread_blocked, id=156824] 0x52fec2c0 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=154800] 0x52feb050 JavaThread "JDWP Event Helper Thread" daemon [_thread_blocked, id=158956] 0x00038be8 JavaThread "JDWP Transport Listener: dt_socket" daemon [_thread_in_native, id=158316] 0x009a48d8 JavaThread "Finalizer" daemon [_thread_blocked, id=158196] 0x009a3c40 JavaThread "Reference Handler" daemon [_thread_blocked, id=157196] Other Threads: 0x009a1a18 VMThread [id=157636] 0x52ff1cb8 WatcherThread [id=159328] VM state:not at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: None Heap def new generation total 13248K, used 2681K [0x02a30000, 0x03880000, 0x09bf0000) eden space 11840K, 13% used [0x02a30000, 0x02bcc180, 0x035c0000) from space 1408K, 73% used [0x035c0000, 0x036c2550, 0x03720000) to space 1408K, 0% used [0x03720000, 0x03720000, 0x03880000) tenured generation total 116544K, used 71754K [0x09bf0000, 0x10dc0000, 0x42a30000) the space 116544K, 61% used [0x09bf0000, 0x0e202a78, 0x0e202c00, 0x10dc0000) compacting perm gen total 65536K, used 48828K [0x42a30000, 0x46a30000, 0x52a30000) the space 65536K, 74% used [0x42a30000, 0x459df188, 0x459df200, 0x46a30000) No shared spaces configured. Dynamic libraries: 0x00400000 - 0x0040c000 D:\Program Files\Java\jdk1.5.0_07\bin\java.exe 0x7c920000 - 0x7c9b6000 C:\WINDOWS\system32\ntdll.dll 0x7c800000 - 0x7c91e000 C:\WINDOWS\system32\kernel32.dll 0x77da0000 - 0x77e49000 C:\WINDOWS\system32\ADVAPI32.dll 0x77e50000 - 0x77ee2000 C:\WINDOWS\system32\RPCRT4.dll 0x77fc0000 - 0x77fd1000 C:\WINDOWS\system32\Secur32.dll 0x77be0000 - 0x77c38000 C:\WINDOWS\system32\MSVCRT.dll 0x6d880000 - 0x6dc31000 D:\Program Files\Java\jdk1.5.0_07\jre\bin\server\jvm.dll 0x77d10000 - 0x77da0000 C:\WINDOWS\system32\USER32.dll 0x77ef0000 - 0x77f39000 C:\WINDOWS\system32\GDI32.dll 0x76b10000 - 0x76b3a000 C:\WINDOWS\system32\WINMM.dll 0x76300000 - 0x7631d000 C:\WINDOWS\system32\IMM32.DLL 0x62c20000 - 0x62c29000 C:\WINDOWS\system32\LPK.DLL 0x73fa0000 - 0x7400b000 C:\WINDOWS\system32\USP10.dll 0x6d2f0000 - 0x6d2f8000 D:\Program Files\Java\jdk1.5.0_07\jre\bin\hpi.dll 0x76bc0000 - 0x76bcb000 C:\WINDOWS\system32\PSAPI.DLL 0x6d3f0000 - 0x6d425000 D:\Program Files\Java\jdk1.5.0_07\jre\bin\jdwp.dll 0x6d6b0000 - 0x6d6bc000 D:\Program Files\Java\jdk1.5.0_07\jre\bin\verify.dll 0x6d370000 - 0x6d38d000 D:\Program Files\Java\jdk1.5.0_07\jre\bin\java.dll 0x6d6d0000 - 0x6d6df000 D:\Program Files\Java\jdk1.5.0_07\jre\bin\zip.dll 0x6d290000 - 0x6d297000 D:\Program Files\Java\jdk1.5.0_07\jre\bin\dt_socket.dll 0x71a20000 - 0x71a37000 C:\WINDOWS\system32\WS2_32.dll 0x71a10000 - 0x71a18000 C:\WINDOWS\system32\WS2HELP.dll 0x719c0000 - 0x719fe000 C:\WINDOWS\system32\mswsock.dll 0x60fd0000 - 0x61025000 C:\WINDOWS\system32\hnetcfg.dll 0x71a00000 - 0x71a08000 C:\WINDOWS\System32\wshtcpip.dll 0x6d530000 - 0x6d543000 D:\Program Files\Java\jdk1.5.0_07\jre\bin\net.dll 0x76ef0000 - 0x76f17000 C:\WINDOWS\system32\DNSAPI.dll 0x76f80000 - 0x76f88000 C:\WINDOWS\System32\winrnr.dll 0x76f30000 - 0x76f5c000 C:\WINDOWS\system32\WLDAP32.dll 0x76f90000 - 0x76f96000 C:\WINDOWS\system32\rasadhlp.dll 0x6d520000 - 0x6d528000 D:\Program Files\Java\jdk1.5.0_07\jre\bin\management.dll 0x68000000 - 0x68036000 C:\WINDOWS\system32\rsaenh.dll 0x759d0000 - 0x75a7f000 C:\WINDOWS\system32\USERENV.dll 0x5fdd0000 - 0x5fe25000 C:\WINDOWS\system32\netapi32.dll 0x6d550000 - 0x6d559000 D:\Program Files\Java\jdk1.5.0_07\jre\bin\nio.dll 0x6d660000 - 0x6d666000 D:\Program Files\Java\jdk1.5.0_07\jre\bin\rmi.dll 0x6d070000 - 0x6d1d7000 D:\Program Files\Java\jdk1.5.0_07\jre\bin\awt.dll 0x72f70000 - 0x72f96000 C:\WINDOWS\system32\WINSPOOL.DRV 0x76990000 - 0x76acd000 C:\WINDOWS\system32\ole32.dll 0x5adc0000 - 0x5adf7000 C:\WINDOWS\system32\uxtheme.dll 0x736d0000 - 0x7371b000 C:\WINDOWS\system32\ddraw.dll 0x73b30000 - 0x73b36000 C:\WINDOWS\system32\DCIMAN32.dll 0x738b0000 - 0x73980000 C:\WINDOWS\system32\D3DIM700.DLL 0x74680000 - 0x746cc000 C:\WINDOWS\system32\MSCTF.dll 0x57de0000 - 0x57e0b000 D:\Program Files\360safe\safemon\safemon.dll 0x7d590000 - 0x7dd84000 C:\WINDOWS\system32\SHELL32.dll 0x77f40000 - 0x77fb6000 C:\WINDOWS\system32\SHLWAPI.dll 0x770f0000 - 0x7717b000 C:\WINDOWS\system32\OLEAUT32.dll 0x77180000 - 0x77283000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\COMCTL32.dll 0x75c60000 - 0x75d00000 C:\WINDOWS\system32\urlmon.dll 0x77bd0000 - 0x77bd8000 C:\WINDOWS\system32\VERSION.dll 0x5d170000 - 0x5d20a000 C:\WINDOWS\system32\comctl32.dll 0x76d70000 - 0x76d92000 C:\WINDOWS\system32\apphelp.dll 0x73640000 - 0x7366e000 C:\WINDOWS\system32\msctfime.ime 0x6d430000 - 0x6d44f000 D:\Program Files\Java\jdk1.5.0_07\jre\bin\jpeg.dll 0x6d2b0000 - 0x6d2ed000 D:\Program Files\Java\jdk1.5.0_07\jre\bin\fontmanager.dll 0x62f00000 - 0x62f13000 C:\WINDOWS\system32\ocijdbc10.dll 0x58260000 - 0x582b9000 C:\WINDOWS\system32\OCI.dll 0x7c340000 - 0x7c396000 C:\WINDOWS\system32\MSVCR71.dll VM Arguments: jvm_args: -Xdebug -Xrunjdwp:transport=dt_socket,address=8001,server=y,suspend=n -Dprogram.name=run.bat -Xms128m -Xmx1024m -XX:PermSize=64M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.endorsed.dirs=D:\tools\jboss-pamirs-et-4.2.2.GA\lib\endorsed java_command: org.jboss.Main -b 0.0.0.0 Launcher Type: SUN_STANDARD Environment Variables: JAVA_HOME=D:\Program Files\Java\jdk1.5.0_07 PATH=D:\Program Files\Java\jdk1.5.0_07\bin\..\jre\bin\client;D:\Program Files\Java\jdk1.5.0_07\bin\..\jre\bin;D:\Python26\;.D:\tools\apache-ant-1.7.1\bin;D:\tools\apache-maven-2.0.9\bin;D:\tools\instantclient_10_2\bin;D:\Program Files\Java\jdk1.5.0_07\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;d:\Program Files\Subversion\bin;D:\dev\antx\dist\antx\bin;d:\Program Files\UltraEdit;D:\Program Files\Rational\common;D:\Program Files\TortoiseSVN\bin;D:\tools\apache-maven-2.1.0\bin;D:\Program Files\python;d:\Sun\SDK\bin USERNAME=dinghao OS=Windows_NT PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 13, GenuineIntel --------------- S Y S T E M --------------- OS: Windows XP Build 2600 Service Pack 3 CPU:total 2 family 6, cmov, cx8, fxsr, mmx, sse, sse2, ht Memory: 4k page, physical 2069032k(184804k free), swap 3141392k(702164k free) vm_info: Java HotSpot(TM) Server VM (1.5.0_06-b05) for windows-x86, built on Nov 10 2005 10:53:00 by "java_re" with MS VC++ 6.0

ibatis转换的一个问题

2016-10-15 17:18:39,162 ERROR (com.test.framework.progress.utils.ProgressUtils:126) - poolTaskExecutor 线程池:SqlMapClient operation; uncategorized SQLException for SQL []; SQL state [null]; error code [0]; --- The error occurred in com/test/framework/dao/ibatis2/ibatis.xml. --- The error occurred while applying a result map. --- Check the com.test.lol.code.sql.selectCodeInfoByCond-AutoResultMap. --- The error happened while setting a property on the result object. --- Cause: net.sf.cglib.beans.BulkBeanException: java.lang.String cannot be cast to java.lang.Long; nested exception is com.ibatis.common.jdbc.exception.NestedSQLException: --- The error occurred in com/test/framework/dao/ibatis2/ibatis.xml. --- The error occurred while applying a result map. --- Check the com.test.lol.code.sql.selectCodeInfoByCond-AutoResultMap. --- The error happened while setting a property on the result object. --- Cause: net.sf.cglib.beans.BulkBeanException: java.lang.String cannot be cast to java.lang.Long org.springframework.jdbc.UncategorizedSQLException: SqlMapClient operation; uncategorized SQLException for SQL []; SQL state [null]; error code [0]; --- The error occurred in com/test/framework/dao/ibatis2/ibatis.xml. --- The error occurred while applying a result map. --- Check the com.test.lol.code.sql.selectCodeInfoByCond-AutoResultMap. --- The error happened while setting a property on the result object. --- Cause: net.sf.cglib.beans.BulkBeanException: java.lang.String cannot be cast to java.lang.Long; nested exception is com.ibatis.common.jdbc.exception.NestedSQLException: --- The error occurred in com/test/framework/dao/ibatis2/ibatis.xml. --- The error occurred while applying a result map. --- Check the com.test.lol.code.sql.selectCodeInfoByCond-AutoResultMap. --- The error happened while setting a property on the result object. --- Cause: net.sf.cglib.beans.BulkBeanException: java.lang.String cannot be cast to java.lang.Long at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:83) at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:80) at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:80) at org.springframework.orm.ibatis.SqlMapClientTemplate.execute(SqlMapClientTemplate.java:203) at org.springframework.orm.ibatis.SqlMapClientTemplate.executeWithListResult(SqlMapClientTemplate.java:243) at com.test.framework.dao.ibatis2.Ibatis2SqlMapClientTemplate.query4VCommList(Ibatis2SqlMapClientTemplate.java:129) at com.test.framework.dao.ibatis2.Ibatis2SqlMapClientTemplate.queryForVCommList(Ibatis2SqlMapClientTemplate.java:225) at com.test.lol.code.service.CodeServiceImpl.selectCodeInfoByCond(CodeServiceImpl.java:2508) at com.test.lol.code.service.CodeServiceImpl$$FastClassByCGLIB$$740dee32.invoke(<generated>) at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:689) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.aop.aspectj.AspectJAfterAdvice.invoke(AspectJAfterAdvice.java:42) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:55) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:622) at com.test.lol.code.service.CodeServiceImpl$$EnhancerByCGLIB$$ab958bb2.selectCodeInfoByCond(<generated>) at com.test.lol.code.action.CodeAction.selectCodeInfoByCond(CodeAction.java:243) at com.test.lol.code.action.ExportallAction.category(ExportallAction.java:306) at com.test.lol.code.action.ExportallAction.exportyAll(ExportallAction.java:274) at com.test.lol.code.action.ExportallAction$1.execute(ExportallAction.java:221) at com.test.framework.progress.utils.ProgressUtils$2.run(ProgressUtils.java:124) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: com.ibatis.common.jdbc.exception.NestedSQLException: --- The error occurred in com/test/framework/dao/ibatis2/ibatis.xml. --- The error occurred while applying a result map. --- Check the com.test.lol.code.sql.selectCodeInfoByCond-AutoResultMap. --- The error happened while setting a property on the result object. --- Cause: net.sf.cglib.beans.BulkBeanException: java.lang.String cannot be cast to java.lang.Long at com.ibatis.sqlmap.engine.mapping.statement.MappedStatement.executeQueryWithCallback(MappedStatement.java:204) at com.ibatis.sqlmap.engine.mapping.statement.MappedStatement.executeQueryForList(MappedStatement.java:139) at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForList(SqlMapExecutorDelegate.java:567) at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForList(SqlMapExecutorDelegate.java:541) at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.queryForList(SqlMapSessionImpl.java:118) at com.test.framework.dao.ibatis2.Ibatis2SqlMapClientTemplate$1.doInSqlMapClient(Ibatis2SqlMapClientTemplate.java:131) at org.springframework.orm.ibatis.SqlMapClientTemplate.execute(SqlMapClientTemplate.java:200) ... 26 more Caused by: net.sf.cglib.beans.BulkBeanException: java.lang.String cannot be cast to java.lang.Long at com.test.lol.code.valueobject.CodeInfo$$BulkBeanByCGLIB$$80c55f8f.setPropertyValues(<generated>) at com.ibatis.sqlmap.engine.accessplan.EnhancedPropertyAccessPlan.setProperties(EnhancedPropertyAccessPlan.java:33) at com.ibatis.sqlmap.engine.exchange.JavaBeanDataExchange.setData(JavaBeanDataExchange.java:112) at com.ibatis.sqlmap.engine.mapping.result.ResultMap.setResultObjectValues(ResultMap.java:371) at com.ibatis.sqlmap.engine.mapping.result.AutoResultMap.setResultObjectValues(AutoResultMap.java:54) at com.ibatis.sqlmap.engine.mapping.statement.RowHandlerCallback.handleResultObject(RowHandlerCallback.java:64) at com.ibatis.sqlmap.engine.execution.SqlExecutor.handleResults(SqlExecutor.java:385) at com.ibatis.sqlmap.engine.execution.SqlExecutor.handleMultipleResults(SqlExecutor.java:300) at com.ibatis.sqlmap.engine.execution.SqlExecutor.executeQuery(SqlExecutor.java:189) at com.test.framework.dao.ibatis2.LimitSqlExecutor.executeQuery(LimitSqlExecutor.java:82) at com.ibatis.sqlmap.engine.mapping.statement.MappedStatement.sqlExecuteQuery(MappedStatement.java:221) at com.ibatis.sqlmap.engine.mapping.statement.MappedStatement.executeQueryWithCallback(MappedStatement.java:189) ... 32 more Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Long ... 44 more

基于SSM框架的tomcat死循环问题···求大佬解答,我截下了循环的部分

2020-04-04 18:41:06,462 DEBUG org.mybatis.spring.SqlSessionFactoryBean: org.mybatis.spring.SqlSessionFactoryBean.buildSqlSessionFactory(SqlSessionFactoryBean.java:431) - Parsed configuration file: 'class path resource [mybatis/mybatis-config.xml]' 2020-04-04 18:41:06,465 DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory: org.springframework.beans.factory.support.AbstractBeanFactory.getTypeForFactoryBean(AbstractBeanFactory.java:1426) - Ignoring bean creation exception on FactoryBean type check: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'typeMapper' defined in URL [jar:file:/D:/newfile/Java/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/Atcrowdfunding-main/WEB-INF/lib/Atcrowdfunding-manager-api-0.0.1-SNAPSHOT.jar!/com/min/atcrowdfunding/manager/dao/TypeMapper.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory': : Error creating bean with name 'sqlSessionFactory' defined in file [D:\newfile\Java\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\Atcrowdfunding-main\WEB-INF\classes\spring\spring-context.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: 'URL [jar:file:/D:/newfile/Java/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/Atcrowdfunding-main/WEB-INF/lib/Atcrowdfunding-manager-impl-0.0.1-SNAPSHOT.jar!/mybatis/AccountTypeCertMapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: java.lang.IllegalArgumentException: Result Maps collection already contains value for com.min.atcrowdfunding.manager.dao.AccountTypeCertMapper.BaseResultMap; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in file [D:\newfile\Java\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\Atcrowdfunding-main\WEB-INF\classes\spring\spring-context.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: 'URL [jar:file:/D:/newfile/Java/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/Atcrowdfunding-main/WEB-INF/lib/Atcrowdfunding-manager-impl-0.0.1-SNAPSHOT.jar!/mybatis/AccountTypeCertMapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: java.lang.IllegalArgumentException: Result Maps collection already contains value for com.min.atcrowdfunding.manager.dao.AccountTypeCertMapper.BaseResultMap 2020-04-04 18:41:06,466 DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory: org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:220) - Creating shared instance of singleton bean 'sqlSessionFactory' 2020-04-04 18:41:06,467 DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory: org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:449) - Creating instance of bean 'sqlSessionFactory' 2020-04-04 18:41:06,467 DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory: org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:523) - Eagerly caching bean 'sqlSessionFactory' to allow for resolving potential circular references 2020-04-04 18:41:06,468 DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory: org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:249) - Returning cached instance of singleton bean 'dataSource' 2020-04-04 18:41:06,469 DEBUG org.springframework.core.io.support.PathMatchingResourcePatternResolver: org.springframework.core.io.support.PathMatchingResourcePatternResolver.doFindMatchingFileSystemResources(PathMatchingResourcePatternResolver.java:553) - Looking for matching resources in directory tree [D:\newfile\Java\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\Atcrowdfunding-main\WEB-INF\classes\mybatis] 2020-04-04 18:41:06,469 DEBUG org.springframework.core.io.support.PathMatchingResourcePatternResolver: org.springframework.core.io.support.PathMatchingResourcePatternResolver.doRetrieveMatchingFiles(PathMatchingResourcePatternResolver.java:615) - Searching directory [D:\newfile\Java\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\Atcrowdfunding-main\WEB-INF\classes\mybatis] for files matching pattern [D:/newfile/Java/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/Atcrowdfunding-main/WEB-INF/classes/mybatis/*Mapper.xml] 2020-04-04 18:41:06,470 DEBUG org.springframework.core.io.support.PathMatchingResourcePatternResolver: org.springframework.core.io.support.PathMatchingResourcePatternResolver.doFindPathMatchingJarResources(PathMatchingResourcePatternResolver.java:467) - Looking for matching resources in jar file [file:/D:/newfile/Java/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/Atcrowdfunding-main/WEB-INF/lib/Atcrowdfunding-manager-impl-0.0.1-SNAPSHOT.jar] 2020-04-04 18:41:06,471 DEBUG org.springframework.core.io.support.PathMatchingResourcePatternResolver: org.springframework.core.io.support.PathMatchingResourcePatternResolver.doFindPathMatchingJarResources(PathMatchingResourcePatternResolver.java:467) - Looking for matching resources in jar file [file:/D:/newfile/Java/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/Atcrowdfunding-main/WEB-INF/lib/Atcrowdfunding-potal-impl-0.0.1-SNAPSHOT.jar] 2020-04-04 18:41:06,471 DEBUG org.springframework.core.io.support.PathMatchingResourcePatternResolver: org.springframework.core.io.support.PathMatchingResourcePatternResolver.findPathMatchingResources(PathMatchingResourcePatternResolver.java:354) - Resolved location pattern [classpath*:mybatis/*Mapper.xml] to resources [URL [jar:file:/D:/newfile/Java/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/Atcrowdfunding-main/WEB-INF/lib/Atcrowdfunding-manager-impl-0.0.1-SNAPSHOT.jar!/mybatis/AccountTypeCertMapper.xml], URL [jar:file:/D:/newfile/Java/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/Atcrowdfunding-main/WEB-INF/lib/Atcrowdfunding-manager-impl-0.0.1-SNAPSHOT.jar!/mybatis/AdvertisementMapper.xml], URL [jar:file:/D:/newfile/Java/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/Atcrowdfunding-main/WEB-INF/lib/Atcrowdfunding-manager-impl-0.0.1-SNAPSHOT.jar!/mybatis/CertMapper.xml], URL [jar:file:/D:/newfile/Java/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/Atcrowdfunding-main/WEB-INF/lib/Atcrowdfunding-manager-impl-0.0.1-SNAPSHOT.jar!/mybatis/DictionaryMapper.xml], URL [jar:file:/D:/newfile/Java/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/Atcrowdfunding-main/WEB-INF/lib/Atcrowdfunding-manager-impl-0.0.1-SNAPSHOT.jar!/mybatis/MessageMapper.xml], URL [jar:file:/D:/newfile/Java/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/Atcrowdfunding-main/WEB-INF/lib/Atcrowdfunding-manager-impl-0.0.1-SNAPSHOT.jar!/mybatis/OrderMapper.xml], URL [jar:file:/D:/newfile/Java/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/Atcrowdfunding-main/WEB-INF/lib/Atcrowdfunding-manager-impl-0.0.1-SNAPSHOT.jar!/mybatis/ParamMapper.xml], URL [jar:file:/D:/newfile/Java/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/Atcrowdfunding-main/WEB-INF/lib/Atcrowdfunding-manager-impl-0.0.1-SNAPSHOT.jar!/mybatis/PermissionMapper.xml], URL [jar:file:/D:/newfile/Java/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/Atcrowdfunding-main/WEB-INF/lib/Atcrowdfunding-manager-impl-0.0.1-SNAPSHOT.jar!/mybatis/ProjectMapper.xml], URL [jar:file:/D:/newfile/Java/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/Atcrowdfunding-main/WEB-INF/lib/Atcrowdfunding-manager-impl-0.0.1-SNAPSHOT.jar!/mybatis/ProjectTagMapper.xml], URL [jar:file:/D:/newfile/Java/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/Atcrowdfunding-main/WEB-INF/lib/Atcrowdfunding-manager-impl-0.0.1-SNAPSHOT.jar!/mybatis/ProjectTypeMapper.xml], URL [jar:file:/D:/newfile/Java/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/Atcrowdfunding-main/WEB-INF/lib/Atcrowdfunding-manager-impl-0.0.1-SNAPSHOT.jar!/mybatis/ReturnMapper.xml], URL [jar:file:/D:/newfile/Java/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/Atcrowdfunding-main/WEB-INF/lib/Atcrowdfunding-manager-impl-0.0.1-SNAPSHOT.jar!/mybatis/RoleMapper.xml], URL [jar:file:/D:/newfile/Java/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/Atcrowdfunding-main/WEB-INF/lib/Atcrowdfunding-manager-impl-0.0.1-SNAPSHOT.jar!/mybatis/RolePermissionMapper.xml], URL [jar:file:/D:/newfile/Java/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/Atcrowdfunding-main/WEB-INF/lib/Atcrowdfunding-manager-impl-0.0.1-SNAPSHOT.jar!/mybatis/TagMapper.xml], URL [jar:file:/D:/newfile/Java/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/Atcrowdfunding-main/WEB-INF/lib/Atcrowdfunding-manager-impl-0.0.1-SNAPSHOT.jar!/mybatis/TypeMapper.xml], URL [jar:file:/D:/newfile/Java/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/Atcrowdfunding-main/WEB-INF/lib/Atcrowdfunding-manager-impl-0.0.1-SNAPSHOT.jar!/mybatis/UserMapper.xml], URL [jar:file:/D:/newfile/Java/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/Atcrowdfunding-main/WEB-INF/lib/Atcrowdfunding-manager-impl-0.0.1-SNAPSHOT.jar!/mybatis/UserRoleMapper.xml]] 2020-04-04 18:41:06,472 DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory: org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1595) - Invoking afterPropertiesSet() on bean with name 'sqlSessionFactory' 2020-04-04 18:41:06,474 DEBUG org.apache.ibatis.io.ResolverUtil: org.apache.ibatis.io.DefaultVFS.findJarForResource(DefaultVFS.java:197) - Find JAR URL: jar:file:/D:/newfile/Java/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/Atcrowdfunding-main/WEB-INF/lib/Atcrowdfunding-bean-0.0.1-SNAPSHOT.jar!/com/min/atcrowdfunding/bean/ 2020-04-04 18:41:06,474 DEBUG org.apache.ibatis.io.ResolverUtil: org.apache.ibatis.io.DefaultVFS.findJarForResource(DefaultVFS.java:203) - Inner URL: file:/D:/newfile/Java/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/Atcrowdfunding-main/WEB-INF/lib/Atcrowdfunding-bean-0.0.1-SNAPSHOT.jar!/com/min/atcrowdfunding/bean/ 2020-04-04 18:41:06,475 DEBUG org.apache.ibatis.io.ResolverUtil: org.apache.ibatis.io.DefaultVFS.findJarForResource(DefaultVFS.java:214) - Extracted JAR URL: file:/D:/newfile/Java/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/Atcrowdfunding-main/WEB-INF/lib/Atcrowdfunding-bean-0.0.1-SNAPSHOT.jar 2020-04-04 18:41:06,475 DEBUG org.apache.ibatis.io.ResolverUtil: org.apache.ibatis.io.DefaultVFS.isJar(DefaultVFS.java:291) - Found JAR: file:/D:/newfile/Java/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/Atcrowdfunding-main/WEB-INF/lib/Atcrowdfunding-bean-0.0.1-SNAPSHOT.jar 2020-04-04 18:41:06,476 DEBUG org.apache.ibatis.io.ResolverUtil: org.apache.ibatis.io.DefaultVFS.list(DefaultVFS.java:64) - Listing jar:file:/D:/newfile/Java/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/Atcrowdfunding-main/WEB-INF/lib/Atcrowdfunding-bean-0.0.1-SNAPSHOT.jar!/com/min/atcrowdfunding/bean/ 2020-04-04 18:41:06,476 DEBUG org.apache.ibatis.io.ResolverUtil: org.apache.ibatis.io.DefaultVFS.listResources(DefaultVFS.java:178) - Found resource: /com/min/atcrowdfunding/bean/AccountTypeCert.class 2020-04-04 18:41:06,477 DEBUG org.apache.ibatis.io.ResolverUtil: org.apache.ibatis.io.DefaultVFS.listResources(DefaultVFS.java:178) - Found resource: /com/min/atcrowdfunding/bean/Advertisement.class 2020-04-04 18:41:06,477 DEBUG org.apache.ibatis.io.ResolverUtil: org.apache.ibatis.io.DefaultVFS.listResources(DefaultVFS.java:178) - Found resource: /com/min/atcrowdfunding/bean/Cert.class 2020-04-04 18:41:06,478 DEBUG org.apache.ibatis.io.ResolverUtil: org.apache.ibatis.io.DefaultVFS.listResources(DefaultVFS.java:178) - Found resource: /com/min/atcrowdfunding/bean/Dictionary.class 2020-04-04 18:41:06,478 DEBUG org.apache.ibatis.io.ResolverUtil: org.apache.ibatis.io.DefaultVFS.listResources(DefaultVFS.java:178) - Found resource: /com/min/atcrowdfunding/bean/Member.class 2020-04-04 18:41:06,479 DEBUG org.apache.ibatis.io.ResolverUtil: org.apache.ibatis.io.DefaultVFS.listResources(DefaultVFS.java:178) - Found resource: /com/min/atcrowdfunding/bean/MemberAddress.class 2020-04-04 18:41:06,479 DEBUG org.apache.ibatis.io.ResolverUtil: org.apache.ibatis.io.DefaultVFS.listResources(DefaultVFS.java:178) - Found resource: /com/min/atcrowdfunding/bean/MemberCert.class 2020-04-04 18:41:06,479 DEBUG org.apache.ibatis.io.ResolverUtil: org.apache.ibatis.io.DefaultVFS.listResources(DefaultVFS.java:178) - Found resource: /com/min/atcrowdfunding/bean/MemberProjectFollow.class 2020-04-04 18:41:06,479 DEBUG org.apache.ibatis.io.ResolverUtil: org.apache.ibatis.io.DefaultVFS.listResources(DefaultVFS.java:178) - Found resource: /com/min/atcrowdfunding/bean/Message.class 2020-04-04 18:41:06,480 DEBUG org.apache.ibatis.io.ResolverUtil: org.apache.ibatis.io.DefaultVFS.listResources(DefaultVFS.java:178) - Found resource: /com/min/atcrowdfunding/bean/Order.class 2020-04-04 18:41:06,481 DEBUG org.apache.ibatis.io.ResolverUtil: org.apache.ibatis.io.DefaultVFS.listResources(DefaultVFS.java:178) - Found resource: /com/min/atcrowdfunding/bean/Param.class 2020-04-04 18:41:06,481 DEBUG org.apache.ibatis.io.ResolverUtil: org.apache.ibatis.io.DefaultVFS.listResources(DefaultVFS.java:178) - Found resource: /com/min/atcrowdfunding/bean/Permission.class 2020-04-04 18:41:06,482 DEBUG org.apache.ibatis.io.ResolverUtil: org.apache.ibatis.io.DefaultVFS.listResources(DefaultVFS.java:178) - Found resource: /com/min/atcrowdfunding/bean/Project.class 2020-04-04 18:41:06,483 DEBUG org.apache.ibatis.io.ResolverUtil: org.apache.ibatis.io.DefaultVFS.listResources(DefaultVFS.java:178) - Found resource: /com/min/atcrowdfunding/bean/ProjectTag.class 2020-04-04 18:41:06,483 DEBUG org.apache.ibatis.io.ResolverUtil: org.apache.ibatis.io.DefaultVFS.listResources(DefaultVFS.java:178) - Found resource: /com/min/atcrowdfunding/bean/ProjectType.class 2020-04-04 18:41:06,484 DEBUG org.apache.ibatis.io.ResolverUtil: org.apache.ibatis.io.DefaultVFS.listResources(DefaultVFS.java:178) - Found resource: /com/min/atcrowdfunding/bean/Return.class 2020-04-04 18:41:06,484 DEBUG org.apache.ibatis.io.ResolverUtil: org.apache.ibatis.io.DefaultVFS.listResources(DefaultVFS.java:178) - Found resource: /com/min/atcrowdfunding/bean/Role.class 2020-04-04 18:41:06,485 DEBUG org.apache.ibatis.io.ResolverUtil: org.apache.ibatis.io.DefaultVFS.listResources(DefaultVFS.java:178) - Found resource: /com/min/atcrowdfunding/bean/RolePermission.class 2020-04-04 18:41:06,485 DEBUG org.apache.ibatis.io.ResolverUtil: org.apache.ibatis.io.DefaultVFS.listResources(DefaultVFS.java:178) - Found resource: /com/min/atcrowdfunding/bean/Tag.class 2020-04-04 18:41:06,486 DEBUG org.apache.ibatis.io.ResolverUtil: org.apache.ibatis.io.DefaultVFS.listResources(DefaultVFS.java:178) - Found resource: /com/min/atcrowdfunding/bean/Type.class 2020-04-04 18:41:06,486 DEBUG org.apache.ibatis.io.ResolverUtil: org.apache.ibatis.io.DefaultVFS.listResources(DefaultVFS.java:178) - Found resource: /com/min/atcrowdfunding/bean/User.class 2020-04-04 18:41:06,487 DEBUG org.apache.ibatis.io.ResolverUtil: org.apache.ibatis.io.DefaultVFS.listResources(DefaultVFS.java:178) - Found resource: /com/min/atcrowdfunding/bean/UserRole.class 2020-04-04 18:41:06,487 DEBUG org.apache.ibatis.io.ResolverUtil: org.apache.ibatis.io.ResolverUtil.addIfMatching(ResolverUtil.java:250) - Checking to see if class com.min.atcrowdfunding.bean.AccountTypeCert matches criteria [is assignable to Object] 2020-04-04 18:41:06,488 DEBUG org.apache.ibatis.io.ResolverUtil: org.apache.ibatis.io.ResolverUtil.addIfMatching(ResolverUtil.java:250) - Checking to see if class com.min.atcrowdfunding.bean.Advertisement matches criteria [is assignable to Object] 2020-04-04 18:41:06,488 DEBUG org.apache.ibatis.io.ResolverUtil: org.apache.ibatis.io.ResolverUtil.addIfMatching(ResolverUtil.java:250) - Checking to see if class com.min.atcrowdfunding.bean.Cert matches criteria [is assignable to Object] 2020-04-04 18:41:06,489 DEBUG org.apache.ibatis.io.ResolverUtil: org.apache.ibatis.io.ResolverUtil.addIfMatching(ResolverUtil.java:250) - Checking to see if class com.min.atcrowdfunding.bean.Dictionary matches criteria [is assignable to Object] 2020-04-04 18:41:06,489 DEBUG org.apache.ibatis.io.ResolverUtil: org.apache.ibatis.io.ResolverUtil.addIfMatching(ResolverUtil.java:250) - Checking to see if class com.min.atcrowdfunding.bean.Member matches criteria [is assignable to Object] 2020-04-04 18:41:06,490 DEBUG org.apache.ibatis.io.ResolverUtil: org.apache.ibatis.io.ResolverUtil.addIfMatching(ResolverUtil.java:250) - Checking to see if class com.min.atcrowdfunding.bean.MemberAddress matches criteria [is assignable to Object] 2020-04-04 18:41:06,490 DEBUG org.apache.ibatis.io.ResolverUtil: org.apache.ibatis.io.ResolverUtil.addIfMatching(ResolverUtil.java:250) - Checking to see if class com.min.atcrowdfunding.bean.MemberCert matches criteria [is assignable to Object] 2020-04-04 18:41:06,490 DEBUG org.apache.ibatis.io.ResolverUtil: org.apache.ibatis.io.ResolverUtil.addIfMatching(ResolverUtil.java:250) - Checking to see if class com.min.atcrowdfunding.bean.MemberProjectFollow matches criteria [is assignable to Object] 2020-04-04 18:41:06,491 DEBUG org.apache.ibatis.io.ResolverUtil: org.apache.ibatis.io.ResolverUtil.addIfMatching(ResolverUtil.java:250) - Checking to see if class com.min.atcrowdfunding.bean.Message matches criteria [is assignable to Object] 2020-04-04 18:41:06,491 DEBUG org.apache.ibatis.io.ResolverUtil: org.apache.ibatis.io.ResolverUtil.addIfMatching(ResolverUtil.java:250) - Checking to see if class com.min.atcrowdfunding.bean.Order matches criteria [is assignable to Object] 2020-04-04 18:41:06,492 DEBUG org.apache.ibatis.io.ResolverUtil: org.apache.ibatis.io.ResolverUtil.addIfMatching(ResolverUtil.java:250) - Checking to see if class com.min.atcrowdfunding.bean.Param matches criteria [is assignable to Object] 2020-04-04 18:41:06,492 DEBUG org.apache.ibatis.io.ResolverUtil: org.apache.ibatis.io.ResolverUtil.addIfMatching(ResolverUtil.java:250) - Checking to see if class com.min.atcrowdfunding.bean.Permission matches criteria [is assignable to Object] 2020-04-04 18:41:06,493 DEBUG org.apache.ibatis.io.ResolverUtil: org.apache.ibatis.io.ResolverUtil.addIfMatching(ResolverUtil.java:250) - Checking to see if class com.min.atcrowdfunding.bean.Project matches criteria [is assignable to Object] 2020-04-04 18:41:06,493 DEBUG org.apache.ibatis.io.ResolverUtil: org.apache.ibatis.io.ResolverUtil.addIfMatching(ResolverUtil.java:250) - Checking to see if class com.min.atcrowdfunding.bean.ProjectTag matches criteria [is assignable to Object] 2020-04-04 18:41:06,494 DEBUG org.apache.ibatis.io.ResolverUtil: org.apache.ibatis.io.ResolverUtil.addIfMatching(ResolverUtil.java:250) - Checking to see if class com.min.atcrowdfunding.bean.ProjectType matches criteria [is assignable to Object] 2020-04-04 18:41:06,494 DEBUG org.apache.ibatis.io.ResolverUtil: org.apache.ibatis.io.ResolverUtil.addIfMatching(ResolverUtil.java:250) - Checking to see if class com.min.atcrowdfunding.bean.Return matches criteria [is assignable to Object] 2020-04-04 18:41:06,495 DEBUG org.apache.ibatis.io.ResolverUtil: org.apache.ibatis.io.ResolverUtil.addIfMatching(ResolverUtil.java:250) - Checking to see if class com.min.atcrowdfunding.bean.Role matches criteria [is assignable to Object] 2020-04-04 18:41:06,495 DEBUG org.apache.ibatis.io.ResolverUtil: org.apache.ibatis.io.ResolverUtil.addIfMatching(ResolverUtil.java:250) - Checking to see if class com.min.atcrowdfunding.bean.RolePermission matches criteria [is assignable to Object] 2020-04-04 18:41:06,496 DEBUG org.apache.ibatis.io.ResolverUtil: org.apache.ibatis.io.ResolverUtil.addIfMatching(ResolverUtil.java:250) - Checking to see if class com.min.atcrowdfunding.bean.Tag matches criteria [is assignable to Object] 2020-04-04 18:41:06,496 DEBUG org.apache.ibatis.io.ResolverUtil: org.apache.ibatis.io.ResolverUtil.addIfMatching(ResolverUtil.java:250) - Checking to see if class com.min.atcrowdfunding.bean.Type matches criteria [is assignable to Object] 2020-04-04 18:41:06,497 DEBUG org.apache.ibatis.io.ResolverUtil: org.apache.ibatis.io.ResolverUtil.addIfMatching(ResolverUtil.java:250) - Checking to see if class com.min.atcrowdfunding.bean.User matches criteria [is assignable to Object] 2020-04-04 18:41:06,497 DEBUG org.apache.ibatis.io.ResolverUtil: org.apache.ibatis.io.ResolverUtil.addIfMatching(ResolverUtil.java:250) - Checking to see if class com.min.atcrowdfunding.bean.UserRole matches criteria [is assignable to Object]

spring升级到4.x后,orm包里面移除了对ibatis的支持,这是为什么

spring升级到4.x后,orm包里面移除了对ibatis的支持,这是为什么

学Python后到底能干什么?网友:我太难了

感觉全世界营销文都在推Python,但是找不到工作的话,又有哪个机构会站出来给我推荐工作? 笔者冷静分析多方数据,想跟大家说:关于超越老牌霸主Java,过去几年间Python一直都被寄予厚望。但是事实是虽然上升趋势,但是国内环境下,一时间是无法马上就超越Java的,也可以换句话说:超越Java只是时间问题罢。 太嚣张了会Python的人!找工作拿高薪这么简单? https://edu....

在中国程序员是青春饭吗?

今年,我也32了 ,为了不给大家误导,咨询了猎头、圈内好友,以及年过35岁的几位老程序员……舍了老脸去揭人家伤疤……希望能给大家以帮助,记得帮我点赞哦。 目录: 你以为的人生 一次又一次的伤害 猎头界的真相 如何应对互联网行业的「中年危机」 一、你以为的人生 刚入行时,拿着傲人的工资,想着好好干,以为我们的人生是这样的: 等真到了那一天,你会发现,你的人生很可能是这样的: ...

为什么程序猿都不愿意去外包?

分享外包的组织架构,盈利模式,亲身经历,以及根据一些外包朋友的反馈,写了这篇文章 ,希望对正在找工作的老铁有所帮助

Java校招入职华为,半年后我跑路了

何来 我,一个双非本科弟弟,有幸在 19 届的秋招中得到前东家华为(以下简称 hw)的赏识,当时秋招签订就业协议,说是入了某 java bg,之后一系列组织架构调整原因等等让人无法理解的神操作,最终毕业前夕,被通知调往其他 bg 做嵌入式开发(纯 C 语言)。 由于已至于校招末尾,之前拿到的其他 offer 又无法再收回,一时感到无力回天,只得默默接受。 毕业后,直接入职开始了嵌入式苦旅,由于从未...

Java基础知识面试题(2020最新版)

文章目录Java概述何为编程什么是Javajdk1.5之后的三大版本JVM、JRE和JDK的关系什么是跨平台性?原理是什么Java语言有哪些特点什么是字节码?采用字节码的最大好处是什么什么是Java程序的主类?应用程序和小程序的主类有何不同?Java应用程序与小程序之间有那些差别?Java和C++的区别Oracle JDK 和 OpenJDK 的对比基础语法数据类型Java有哪些数据类型switc...

@程序员:GitHub这个项目快薅羊毛

今天下午在朋友圈看到很多人都在发github的羊毛,一时没明白是怎么回事。 后来上百度搜索了一下,原来真有这回事,毕竟资源主义的羊毛不少啊,1000刀刷爆了朋友圈!不知道你们的朋友圈有没有看到类似的消息。 这到底是啥情况? 微软开发者平台GitHub 的一个区块链项目 Handshake ,搞了一个招募新会员的活动,面向GitHub 上前 25万名开发者派送 4,246.99 HNS币,大约价...

用python打开电脑摄像头,并把图像传回qq邮箱【Pyinstaller打包】

前言: 如何悄悄的打开朋友的摄像头,看看她最近过的怎么样,嘿嘿!这次让我带你们来实现这个功能。 注: 这个程序仅限在朋友之间开玩笑,别去搞什么违法的事情哦。 代码 发送邮件 使用python内置的email模块即可完成。导入相应的代码封装为一个send函数,顺便导入需要导入的包 注: 下面的代码有三处要修改的地方,两处写的qq邮箱地址,还有一处写的qq邮箱授权码,不知道qq邮箱授权码的可以去百度一...

做了5年运维,靠着这份监控知识体系,我从3K变成了40K

从来没讲过运维,因为我觉得运维这种东西不需要太多的知识面,然后我一个做了运维朋友告诉我大错特错,他就是从3K的运维一步步到40K的,甚至笑着说:我现在感觉自己什么都能做。 既然讲,就讲最重要的吧。 监控是整个运维乃至整个产品生命周期中最重要的一环,事前及时预警发现故障,事后提供详实的数据用于追查定位问题。目前业界有很多不错的开源产品可供选择。选择一款开源的监控系统,是一个省时省力、效率最高的方...

C++(继承):19---虚基类与虚继承(virtual)

一、菱形继承 在介绍虚继承之前介绍一下菱形继承 概念:A作为基类,B和C都继承与A。最后一个类D又继承于B和C,这样形式的继承称为菱形继承 菱形继承的缺点: 数据冗余:在D中会保存两份A的内容 访问不明确(二义性):因为D不知道是以B为中介去访问A还是以C为中介去访问A,因此在访问某些成员的时候会发生二义性 缺点的解决: 数据冗余:通过下面“虚继承”技术来解决(见下) 访问...

再不跳槽,应届毕业生拿的都比我多了!

跳槽几乎是每个人职业生涯的一部分,很多HR说“三年两跳”已经是一个跳槽频繁与否的阈值了,可为什么市面上有很多程序员不到一年就跳槽呢?他们不担心影响履历吗? PayScale之前发布的**《员工最短任期公司排行榜》中,两家码农大厂Amazon和Google**,以1年和1.1年的员工任期中位数分列第二、第四名。 PayScale:员工最短任期公司排行榜 意外的是,任期中位数极小的这两家公司,薪资...

我以为我学懂了数据结构,直到看了这个导图才发现,我错了

数据结构与算法思维导图

技术大佬:我去,你写的 switch 语句也太老土了吧

昨天早上通过远程的方式 review 了两名新来同事的代码,大部分代码都写得很漂亮,严谨的同时注释也很到位,这令我非常满意。但当我看到他们当中有一个人写的 switch 语句时,还是忍不住破口大骂:“我擦,小王,你丫写的 switch 语句也太老土了吧!” 来看看小王写的代码吧,看完不要骂我装逼啊。 private static String createPlayer(PlayerTypes p...

华为初面+综合面试(Java技术面)附上面试题

华为面试整体流程大致分为笔试,性格测试,面试,综合面试,回学校等结果。笔试来说,华为的难度较中等,选择题难度和网易腾讯差不多。最后的代码题,相比下来就简单很多,一共3道题目,前2题很容易就AC,题目已经记不太清楚,不过难度确实不大。最后一题最后提交的代码过了75%的样例,一直没有发现剩下的25%可能存在什么坑。 笔试部分太久远,我就不怎么回忆了。直接将面试。 面试 如果说腾讯的面试是挥金如土...

和黑客斗争的 6 天!

互联网公司工作,很难避免不和黑客们打交道,我呆过的两家互联网公司,几乎每月每天每分钟都有黑客在公司网站上扫描。有的是寻找 Sql 注入的缺口,有的是寻找线上服务器可能存在的漏洞,大部分都...

讲一个程序员如何副业月赚三万的真实故事

loonggg读完需要3分钟速读仅需 1 分钟大家好,我是你们的校长。我之前讲过,这年头,只要肯动脑,肯行动,程序员凭借自己的技术,赚钱的方式还是有很多种的。仅仅靠在公司出卖自己的劳动时...

win10暴力查看wifi密码

刚才邻居打了个电话说:喂小灰,你家wifi的密码是多少,我怎么连不上了。 我。。。 我也忘了哎,就找到了一个好办法,分享给大家: 第一种情况:已经连接上的wifi,怎么知道密码? 打开:控制面板\网络和 Internet\网络连接 然后右击wifi连接的无线网卡,选择状态 然后像下图一样: 第二种情况:前提是我不知道啊,但是我以前知道密码。 此时可以利用dos命令了 1、利用netsh wlan...

上班一个月,后悔当初着急入职的选择了

最近有个老铁,告诉我说,上班一个月,后悔当初着急入职现在公司了。他之前在美图做手机研发,今年美图那边今年也有一波组织优化调整,他是其中一个,在协商离职后,当时捉急找工作上班,因为有房贷供着,不能没有收入来源。所以匆忙选了一家公司,实际上是一个大型外包公司,主要派遣给其他手机厂商做外包项目。**当时承诺待遇还不错,所以就立马入职去上班了。但是后面入职后,发现薪酬待遇这块并不是HR所说那样,那个HR自...

女程序员,为什么比男程序员少???

昨天看到一档综艺节目,讨论了两个话题:(1)中国学生的数学成绩,平均下来看,会比国外好?为什么?(2)男生的数学成绩,平均下来看,会比女生好?为什么?同时,我又联想到了一个技术圈经常讨...

总结了 150 余个神奇网站,你不来瞅瞅吗?

原博客再更新,可能就没了,之后将持续更新本篇博客。

副业收入是我做程序媛的3倍,工作外的B面人生是怎样的?

提到“程序员”,多数人脑海里首先想到的大约是:为人木讷、薪水超高、工作枯燥…… 然而,当离开工作岗位,撕去层层标签,脱下“程序员”这身外套,有的人生动又有趣,马上展现出了完全不同的A/B面人生! 不论是简单的爱好,还是正经的副业,他们都干得同样出色。偶尔,还能和程序员的特质结合,产生奇妙的“化学反应”。 @Charlotte:平日素颜示人,周末美妆博主 大家都以为程序媛也个个不修边幅,但我们也许...

MySQL数据库面试题(2020最新版)

文章目录数据库基础知识为什么要使用数据库什么是SQL?什么是MySQL?数据库三大范式是什么mysql有关权限的表都有哪几个MySQL的binlog有有几种录入格式?分别有什么区别?数据类型mysql有哪些数据类型引擎MySQL存储引擎MyISAM与InnoDB区别MyISAM索引与InnoDB索引的区别?InnoDB引擎的4大特性存储引擎选择索引什么是索引?索引有哪些优缺点?索引使用场景(重点)...

女朋友过生日,我花了20分钟给她写了一个代理服务器

女朋友说:“看你最近挺辛苦的,我送你一个礼物吧。你看看想要什么,我来准备。” 我想了半天,从书到鞋子到电子产品最后到生活用品,感觉自己什么都不缺,然后和她说:“你省省钱吧,我什么都不需要。” 她坚持要送:“不行,你一定要说一个礼物,我想送你东西了。” 于是,我认真了起来,拿起手机,上淘宝逛了几分钟,但还是没能想出来缺点什么,最后实在没办法了:“这样吧,如果你实在想送东西,那你就写一个代理服务器吧”...

记一次腾讯面试,我挂在了最熟悉不过的队列上……

腾讯后台面试,面试官问:如何自己实现队列?

如果你是老板,你会不会踢了这样的员工?

有个好朋友ZS,是技术总监,昨天问我:“有一个老下属,跟了我很多年,做事勤勤恳恳,主动性也很好。但随着公司的发展,他的进步速度,跟不上团队的步伐了,有点...

我入职阿里后,才知道原来简历这么写

私下里,有不少读者问我:“二哥,如何才能写出一份专业的技术简历呢?我总感觉自己写的简历太烂了,所以投了无数份,都石沉大海了。”说实话,我自己好多年没有写过简历了,但我认识的一个同行,他在阿里,给我说了一些他当年写简历的方法论,我感觉太牛逼了,实在是忍不住,就分享了出来,希望能够帮助到你。 01、简历的本质 作为简历的撰写者,你必须要搞清楚一点,简历的本质是什么,它就是为了来销售你的价值主张的。往深...

程序员写出这样的代码,能不挨骂吗?

当你换槽填坑时,面对一个新的环境。能够快速熟练,上手实现业务需求是关键。但是,哪些因素会影响你快速上手呢?是原有代码写的不够好?还是注释写的不够好?昨夜...

带了6个月的徒弟当了面试官,而身为高级工程师的我天天修Bug......

即将毕业的应届毕业生一枚,现在只拿到了两家offer,但最近听到一些消息,其中一个offer,我这个组据说客户很少,很有可能整组被裁掉。 想问大家: 如果我刚入职这个组就被裁了怎么办呢? 大家都是什么时候知道自己要被裁了的? 面试软技能指导: BQ/Project/Resume 试听内容: 除了刷题,还有哪些技能是拿到offer不可或缺的要素 如何提升面试软实力:简历, 行为面试,沟通能...

!大部分程序员只会写3年代码

如果世界上都是这种不思进取的软件公司,那别说大部分程序员只会写 3 年代码,恐怕就没有程序员这种职业。

离职半年了,老东家又发 offer,回不回?

有小伙伴问松哥这个问题,他在上海某公司,在离职了几个月后,前公司的领导联系到他,希望他能够返聘回去,他很纠结要不要回去? 俗话说好马不吃回头草,但是这个小伙伴既然感到纠结了,我觉得至少说明了两个问题:1.曾经的公司还不错;2.现在的日子也不是很如意。否则应该就不会纠结了。 老实说,松哥之前也有过类似的经历,今天就来和小伙伴们聊聊回头草到底吃不吃。 首先一个基本观点,就是离职了也没必要和老东家弄的苦...

2020阿里全球数学大赛:3万名高手、4道题、2天2夜未交卷

阿里巴巴全球数学竞赛( Alibaba Global Mathematics Competition)由马云发起,由中国科学技术协会、阿里巴巴基金会、阿里巴巴达摩院共同举办。大赛不设报名门槛,全世界爱好数学的人都可参与,不论是否出身数学专业、是否投身数学研究。 2020年阿里巴巴达摩院邀请北京大学、剑桥大学、浙江大学等高校的顶尖数学教师组建了出题组。中科院院士、美国艺术与科学院院士、北京国际数学...

立即提问
相关内容推荐