java中,项目跑起来了,但是进入登录界面的时候出现如下报错,找不到具体原因 5C

2017-11-6 15:10:34 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException
at org.apache.jsp.index_jsp._jspInit(index_jsp.java:23)
at org.apache.jasper.runtime.HttpJspBase.init(HttpJspBase.java:52)
at org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:164)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:340)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.yss.xbrl.filter.ForwardFilter.doFilter(ForwardFilter.java:53)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:879)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:617)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1760)
at java.lang.Thread.run(Thread.java:662)

10个回答

HTTP Status 500 - java.lang.NullPointerException


type Exception report

message java.lang.NullPointerException

description The server encountered an internal error that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: java.lang.NullPointerException
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:538)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:370)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
com.yss.xbrl.filter.ForwardFilter.doFilter(ForwardFilter.java:53)

root cause

java.lang.NullPointerException
org.apache.jsp.index_jsp._jspInit(index_jsp.java:23)
org.apache.jasper.runtime.HttpJspBase.init(HttpJspBase.java:52)
org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:164)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:340)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
com.yss.xbrl.filter.ForwardFilter.doFilter(ForwardFilter.java:53)

note The full stack trace of the root cause is available in the Apache Tomcat/6.0.37 logs.

public void doFilter(ServletRequest request, ServletResponse response,
        FilterChain chain) throws IOException, ServletException {
    HttpServletResponse httpServletresponse=HttpServletResponse.class.cast(response);
    HttpServletRequest httpServletRequest=HttpServletRequest.class.cast(request);
    if(httpServletRequest.getMethod()!=null&&httpServletRequest.getMethod().equals("GET")){
        if(StringUtils.isNotEmpty(httpServletRequest.getHeader("Referer"))){
            chain.doFilter(request, response);
        }else{
            if(!httpServletRequest.getRequestURI().contains(".jsp")
                    ||
                    httpServletRequest.getRequestURI().contains("main.jsp")
                    ||
                    httpServletRequest.getRequestURI().contains("login.jsp")
                    ||
                    httpServletRequest.getRequestURI().contains("executeSql.jsp")){
                chain.doFilter(request, response);
            }else{
                httpServletresponse.sendError(404);
            }
        }
    }else{
        chain.doFilter(request, response);
    }



}
在进入   chain.doFilter(request, response);之后报错,跟不进,我看界面写得也没有错,httpServletRequest.getHeader("Referer")获取的也是null

java.lang.NullPointerException 空指针异常
at org.apache.jsp.index_jsp._jspInit(index_jsp.java:23) 找到你的index.jsp页面,然后找23行,那个jspInit方法,应该是参数没有获取到。

u012832579
100dick 我的index.jsp并没23行 <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
接近 2 年之前 回复

<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">


String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";你这两个能获取到吗?估计获取不到

u012832579
100dick request response 输出的内容
接近 2 年之前 回复
u012832579
100dick org.apache.catalina.connector.ResponseFacade@55d44a0c
接近 2 年之前 回复
u012832579
100dick org.apache.catalina.connector.RequestFacade@41a881cc
接近 2 年之前 回复
u012832579
100dick 下面我把我的JSP粘出来了
接近 2 年之前 回复

图片说明

图片说明

u012832579
100dick 对的,那个doFilter代码已经粘贴在上面
接近 2 年之前 回复
 <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
u012832579
100dick 下面的看不到
接近 2 年之前 回复
u012832579
100dick ???
接近 2 年之前 回复

已经解决

原因:项目下面的lib目录包含servlet-api.jar以及jsp-api.jar,编译的时候回打包到tomcat的config的lib西面,因为tomcat已经有了这两个jar包,导致冲突
解决方法,移除相关没有用的jar包,将上面两个jar包创建一个library,选择system library 在输入新的user library名字的下面有勾选然后重新引入,这样就不会编译的时候复制这两个jar包了

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
终于把springside4跑起来了
springside4发布包中不再包含所有依赖jar,只包含源码,maven和ant命令。 自己补这些包可够费劲的。 可以从springside3的showcase的lib拷贝一些过来。
如下例外,出现的原因
"保護されているメモリに読み取りまたは書き込み操作を行おうとしました。他のメモリが壊れていることが考えられます。"rn抛出这个例外,请问可能出现的原因?rn谢谢
【Flex找不到Flash Player】但是我已经安装了 为什么找不到呢 ,报错原因如下
报错提示:rnrnFlex Builder cannot locate the required version of Flash Player. You might need to install Flash Player 9 or reinstall Flex Builder.rnrnDo you want to try to run your application with the current version?rnrn然后弹出cmd对话框 我应当输入什么rn我已经安装了Flash Player 9.0以上版本了
终于,android 2.3.7 跑起来了
先上图,废了九牛二虎之力,终于把这个跑起来了。 作为一个linux小白,连复制移动都要百度,期间安装jdk1.6和其他相关插件,建议一旦和教程不一样的地方,多搜几个, 另外编译过程中,出现了大大小小的错误,我都没有来得及截图和说明,中间一次次的想要放弃,得出结萝多用google, 我用的是linux14.04 lts虚拟机,用smaba跟主机相连,源码用的是http://pan.baidu.
java调用matlab生成的类时候出现错误,报错如下
开始出错的地方已经找出来了,就是一开始New一个matlab生成的类的对象的时候,就出现错误了。有的时候也会好用,大多数时候出现这个错误。这个错误以前也没有遇到过,还请高手帮忙。rn# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x55ab3427, pid=8144, tid=6716rn#rn# Java VM: Java HotSpot(TM) Client VM (10.0-b19 mixed mode windows-x86)rn# Problematic frame:rn# C [jvm.dll+0x3427]rn#rn# An error report file with more information is saved as:rn# G:\workspace\Liuliang\hs_err_pid8144.logrn#rn# If you would like to submit a bug report, please visit:rn# http://java.sun.com/webapps/bugreport/crash.jsprn# The crash happened outside the Java Virtual Machine in native code.rn# See problematic frame for where to report the bug.rn#rn日志文件错误如下:rnHeaprn def new generation total 14784K, used 263K [0x10010000, 0x11010000, 0x12010000)rn eden space 13184K, 2% used [0x10010000, 0x10051ec8, 0x10cf0000)rn from space 1600K, 0% used [0x10cf0000, 0x10cf0000, 0x10e80000)rn to space 1600K, 0% used [0x10e80000, 0x10e80000, 0x11010000)rn tenured generation total 49152K, used 0K [0x12010000, 0x15010000, 0x18010000)rn the space 49152K, 0% used [0x12010000, 0x12010000, 0x12010200, 0x15010000)rn compacting perm gen total 32768K, used 518K [0x18010000, 0x1a010000, 0x1c010000)rn the space 32768K, 1% used [0x18010000, 0x18091a70, 0x18091c00, 0x1a010000)rnNo shared spaces configured.rnrnVM Arguments:rnjvm_args: -Xss512k -XX:PermSize=32m -Xms64m -XX:NewRatio=3 -XX:MaxPermSize=64m -Xmx128m -XX:MaxDirectMemorySize=1200000000 -Dsun.java2d.noddraw=true -Dsun.awt.nopixfmt=true -Xshare:off -Xrs -Djava.library.path=C:\Program Files\MATLAB\MATLAB Compiler Runtime\v710\bin\win32 vfprintf abort rnjava_command: rnLauncher Type: genericrnrn一堆信息,我也不太会看日志文件,以前也没遇到过这样的错误,请有经验的帮忙看一下、
文件系统跑起来就挂原因?
请问:这现像是什么原因造成的机会比较多,应该是INIT的时候初始化文件系统不成功,如是这样的话,要怎样修改文件系统才能让它跑起来。rnNET: Registered protocol family 1rnNET: Registered protocol family 17rnRAMDISK: Compressed image found at block 0rnRAMDISK: incomplete write (-28 != 520) 16777216rncrc errorrnVFS: Mounted root (ext2 filesystem).rnFreeing init memory: 100KrnEXT2-fs error (device ram0): ext2_check_page: bad entry in directory #2311: unalrnigned directory entry - offset=0, inode=976239152, rec_len=14649, name_len=57rnWarning: unable to open an initial console.rnEXT2-fs error (device ram0): ext2_check_page: bad entry in directory #2182: unalrnigned directory entry - offset=0, inode=15132390, rec_len=59110, name_len=230rnKernel panic - not syncing: No init found. Try passing init= option to kernel.
react出现如下报错
1.Unchecked runtime.lastError: The message port closed before a response was received. 原因:扩展程序问题 建议:浏览器中打开chrome://extensions/,逐一关闭排查 以我的为例,发现罪魁祸首是添加了迅雷扩展程序,最后关闭就好。 2.Warning: A component is cha...
MysSql 报错如下,是什么原因?
[code=java]rnrn[2012-11-10 23:58:09] ERROR [cn.eden.world.World] - org.apache.ibatis.exceptions.PersistenceException: rn### Error updating database. Cause: com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception: rnrn** BEGIN NESTED EXCEPTION ** rnrnjava.io.EOFExceptionrnrnSTACKTRACE:rnrnjava.io.EOFExceptionrn at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1913)rn at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2304)rn at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2803)rn at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1573)rn at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1665)rn at com.mysql.jdbc.Connection.execSQL(Connection.java:3176)rn at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1153)rn at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:794)rn at sun.reflect.GeneratedMethodAccessor211.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.ibatis.logging.jdbc.PreparedStatementLogger.invoke(PreparedStatementLogger.java:45)rn at $Proxy30.execute(Unknown Source)rn at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:22)rn at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:51)rn at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:29)rn at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:88)rn at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:43)rn at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:121)rn at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:62)rn at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:38)rn at $Proxy35.updateByPrimaryKey(Unknown Source)rn at cn.eden.world.World.insertRoleBag(World.java:3125)rn at cn.eden.world.World.handleAwardArticle(World.java:4624)rn at cn.eden.gameserver.clientpackets.FightMonster.runImpl(FightMonster.java:112)rn at cn.eden.gameserver.clientpackets.ClientBasePacket.run(ClientBasePacket.java:27)rn at cn.eden.gameserver.GameHandler.onData(GameHandler.java:53)rn at org.xsocket.stream.NonBlockingConnection$IOEventHandler.onDataEvent(NonBlockingConnection.java:600)rn at org.xsocket.stream.IoSocketHandler.onDataEvent(IoSocketHandler.java:292)rn at org.xsocket.stream.IoSocketDispatcher$DispatcherEventHandler$1.run(IoSocketDispatcher.java:63)rn at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)rn at java.lang.Thread.run(Thread.java:662)rnrnrn** END NESTED EXCEPTION **rnrnrnrnLast packet sent to the server was 0 ms ago.rn### The error may involve cn.eden.dao.RoleBagMapper.updateByPrimaryKey-Inlinern### The error occurred while setting parametersrn### Cause: com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception: rnrn** BEGIN NESTED EXCEPTION ** rnrnjava.io.EOFExceptionrnrnSTACKTRACE:rnrnjava.io.EOFExceptionrn at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1913)rn at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2304)rn at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2803)rn at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1573)rn at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1665)rn at com.mysql.jdbc.Connection.execSQL(Connection.java:3176)rn at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1153)rn at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:794)rn at sun.reflect.GeneratedMethodAccessor211.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.ibatis.logging.jdbc.PreparedStatementLogger.invoke(PreparedStatementLogger.java:45)rn at $Proxy30.execute(Unknown Source)rn at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:22)rn at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:51)rn at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:29)rn at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:88)rn at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:43)rn at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:121)rn at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:62)rn at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:38)rn at $Proxy35.updateByPrimaryKey(Unknown Source)rn at cn.eden.world.World.insertRoleBag(World.java:3125)rn at cn.eden.world.World.handleAwardArticle(World.java:4624)rn at cn.eden.gameserver.clientpackets.FightMonster.runImpl(FightMonster.java:112)rn at cn.eden.gameserver.clientpackets.ClientBasePacket.run(ClientBasePacket.java:27)rn at cn.eden.gameserver.GameHandler.onData(GameHandler.java:53)rn at org.xsocket.stream.NonBlockingConnection$IOEventHandler.onDataEvent(NonBlockingConnection.java:600)rn at org.xsocket.stream.IoSocketHandler.onDataEvent(IoSocketHandler.java:292)rn at org.xsocket.stream.IoSocketDispatcher$DispatcherEventHandler$1.run(IoSocketDispatcher.java:63)rn at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)rn at java.lang.Thread.run(Thread.java:662)rnrnrn** END NESTED EXCEPTION **rn[/code]
语法错误,但是我找不到原因
declare @盘点时间 datetimern declare @仓库编号 intrn declare @经办人编号 intrn rn select a.货物编号,@仓库编号,@盘点时间,rn 平均单价=((isnull(b.总入库金额,0)+isnull(c.总拨入金额,0)-isnull(d.总拨出金额,0)-isnull(e.总出库金额,0))/((isnull(b.总入库数量,0)+isnull(c.总拨入量,0)-isnull(d.总拨出量,0)-isnull(e.总出库数量,0)),rn 总入库数量=isnull(b.总入库数量,0)+isnull(c.总拨入量,0)-isnull(d.总拨出量,0)-isnull(e.总出库数量,0),rn --b.总入库金额,rn --c.总拨入量,rn @经办人编号 rn from 货物信息 arn left outer join rn --入库rn (select 货物编号,sum(入库数量) as 总入库数量,sum(入库单价*入库数量) as 总入库金额 from 入库单rn where 入库时间 <= @盘点时间 and 仓库编号=@仓库编号 rn group by 货物编号) b on a.货物编号=b.货物编号 rn left outer join rn --调拨入库rn (select 货物编号,sum(实拨数量) as 总拨入量,sum(单价*实拨数量) as 总拨入金额 from 调拔单 rn where 调入时间 <= @盘点时间 and 目标仓库编号=@仓库编号 rn group by 货物编号) c on a.货物编号=c.货物编号 rn left outer join rn --调拨出库 rn (select 货物编号,sum(实拨数量) as 总拨出量,sum(单价*实拨数量) as 总拨出金额 from 调拔单 rn where 调入时间 <= @盘点时间 and 原仓库编号=@仓库编号 rn group by 货物编号) d on a.货物编号=d.货物编号 rn left outer join rn --出库rn (select 货物编号,sum(出库数量) as 总出库数量,sum(出库单价*出库数量) as 总出库金额 from 出库单 rn where 出库时间 <= @盘点时间 and 仓库编号=@仓库编号 rn group by 货物编号) e on a.货物编号=e.货物编号 rnrn服务器: 消息 170,级别 15,状态 1,行 5rn第 5 行: ',' 附近有语法错误。rn服务器: 消息 170,级别 15,状态 1,行 15rn第 15 行: 'b' 附近有语法错误。rn服务器: 消息 170,级别 15,状态 1,行 20rn第 20 行: 'c' 附近有语法错误。rn服务器: 消息 170,级别 15,状态 1,行 25rn第 25 行: 'd' 附近有语法错误。rn服务器: 消息 170,级别 15,状态 1,行 30rn第 30 行: 'e' 附近有语法错误。rnrn我修改以前的程序,需要加一个盘点的存储过程,如果rn平均单价=((isnull(b.总入库金额,0)+isnull(c.总拨入金额,0)-isnull(d.总拨出金额,0)-isnull(e.总出库金额,0))/((isnull(b.总入库数量,0)+isnull(c.总拨入量,0)-isnull(d.总拨出量,0)-isnull(e.总出库数量,0)),rn 总入库数量=isnull(b.总入库数量,0)+isnull(c.总拨入量,0)-isnull(d.总拨出量,0)-isnull(e.总出库数量,0),rnrn换成rn --b.总入库金额,rn --c.总拨入量,rn可以过rn执行的时候报rn服务器: 消息 207,级别 16,状态 3,行 5rn列名 '货物编号' 无效。rn服务器: 消息 207,级别 16,状态 1,行 5rn列名 '货物编号' 无效。rn服务器: 消息 207,级别 16,状态 1,行 5rn列名 '货物编号' 无效。rn服务器: 消息 207,级别 16,状态 1,行 5rn列名 '货物编号' 无效。rn服务器: 消息 207,级别 16,状态 1,行 5rn列名 '货物编号' 无效。rnrn各位兄弟帮忙看看有什么语法错误
在调用量大的时候,项目出现了报错
[code=Java]rnrn####<2010-5-20 下午07时28分06秒 HKT> <> <> <> <1274354886231> rn####<2010-5-20 下午08时57分33秒 HKT> <[ACTIVE] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <> <1274360253966> <[STUCK] ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "650" seconds working on the request "weblogic.servlet.internal.ServletRequestImpl@9eaff78[rnPOST /smtccs_agent_intf/services/wsagent HTTP/1.0rnContent-Type: text/xml; charset=utf-8rnAccept: application/soap+xml, application/dime, multipart/related, text/*rnUser-Agent: Axis/1.4rnCache-Control: no-cachernPragma: no-cachernSOAPAction: ""rnContent-Length: 1003rnrn]", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:rnThread-41 "[STUCK] ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'" rn java.util.HashMap.put(HashMap.java:448)rn com.tisson.intf.rpc.WsAgent.initialization(WsAgent.java:172)rn com.tisson.intf.rpc.WsAgent.input(WsAgent.java:271)rn sun.reflect.GeneratedMethodAccessor159.invoke(Unknown Source)rn sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn java.lang.reflect.Method.invoke(Method.java:575)rn org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)rn org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:71)rn org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:265)rn org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)rn org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:113)rn org.apache.axis.SimpleChain.invoke(SimpleChain.java:78)rn org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:435)rn org.apache.axis.server.AxisServer.invoke(AxisServer.java:132)rn org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:586)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:700)rn org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:325)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:815)rn weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:224)rn weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:108)rn weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:198)rn weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)rn weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:55)rn com.laoer.comm.web.EncodingFilter.doFilter(EncodingFilter.java:57)rn weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:55)rn weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3564)rn weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:308)rn weblogic.security.service.SecurityManager.runAs(SecurityManager.java:117)rn weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2138)rn weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2060)rn weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1399)rn weblogic.work.ExecuteThread.execute(ExecuteThread.java:198)rn weblogic.work.ExecuteThread.run(ExecuteThread.java:165)rnrnrn> rn[/code]rnrnrn各位大神门 这是什么错呀??
ftp时,出现登录界面。但是输入用户名之后就报错!
ftp时,出现登录界面。但是输入用户名之后就报错!提示“530 must perform authatication before identifying USER".请指点
部署时候找不到项目
检查org.eclipse.wst.common.project.facet.core.xml文件
脚本报错,找不到原因,很简单
for (var i = 0; i < document.form1.class1.options.length; i++) rn if (document.form1.class1.options[i].value == [color=#FF0000]7[/color]) rn [color=#FF0000]alert(document.form1.class1.options[i].value)[/color]rn document.form1.class1.options[i].selected == true;rn rn rnrn红色部分正确显示为:7rnrn可是就是选中不了...[color=#FF0000]7[/color]...
出现如下的的编译错误 是什么原因!
“/WebApplication1”应用程序中的服务器错误。rn--------------------------------------------------------------------------------rnrn编译错误 rn说明: 在编译向该请求提供服务所需资源的过程中出现错误。请检查下列特定错误详细信息并适当地修改源代码。 rnrn编译器错误信息: CS1595: 已在多处定义“System.Runtime.CompilerServices.CompilerGlobalScopeAttribute”;使用“C:\winnt\microsoft.net\framework\v1.0.3705\mscorlib.dll”中的定义rnrn源错误:rnrn rnrn行 25: rn行 26: rn行 27: [System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()]rn行 28: public class Global_asax : WebApplication1.Global rn行 29: rn rnrn源文件: C:\WINNT\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET Files\webapplication1\e5d91285\6620c07f\ja7jj2tk.0.cs 行: 27 rnrnrnrn显示详细的编译器输出:rnrnrnC:\WINNT\system32> "c:\winnt\microsoft.net\framework\v1.0.3705\csc.exe" /t:library /utf8output /R:"c:\winnt\assembly\gac\system.xml\1.0.3300.0__b77a5c561934e089\system.xml.dll" /R:"c:\winnt\microsoft.net\framework\v1.0.3705\temporary asp.net files\webapplication1\e5d91285\6620c07f\assembly\dl\afedc559\f0a241ee_da15c201\webapplication1.dll" /R:"c:\winnt\assembly\gac\system.data\1.0.3300.0__b77a5c561934e089\system.data.dll" /R:"c:\winnt\microsoft.net\framework\v1.0.3705\mscorlib.dll" /R:"c:\winnt\assembly\gac\system.web\1.0.3300.0__b03f5f7f11d50a3a\system.web.dll" /R:"c:\winnt\assembly\gac\system\1.0.3300.0__b77a5c561934e089\system.dll" /R:"c:\winnt\assembly\gac\system.enterpriseservices\1.0.3300.0__b03f5f7f11d50a3a\system.enterpriseservices.dll" /R:"c:\winnt\assembly\gac\system.drawing\1.0.3300.0__b03f5f7f11d50a3a\system.drawing.dll" /R:"c:\winnt\assembly\gac\system.web.services\1.0.3300.0__b03f5f7f11d50a3a\system.web.services.dll" /out:"C:\WINNT\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET Files\webapplication1\e5d91285\6620c07f\ja7jj2tk.dll" /D:DEBUG /debug+ /optimize- /warnaserror /w:1 "C:\WINNT\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET Files\webapplication1\e5d91285\6620c07f\ja7jj2tk.0.cs"rnrnrnMicrosoft (R) Visual C# .NET Compiler version 7.00.9466rnfor Microsoft (R) .NET Framework version 1.0.3705rn版权所有 (C) Microsoft Corporation 2001。保留所有权利。rnrnC:\WINNT\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET Files\webapplication1\e5d91285\6620c07f\ja7jj2tk.0.cs(27,6): error CS1595: 已在多处定义“System.Runtime.CompilerServices.CompilerGlobalScopeAttribute”;使用“C:\winnt\microsoft.net\framework\v1.0.3705\mscorlib.dll”中的定义rnrn rnrnrnrn显示完整的编译源:rnrnrn行 1: //------------------------------------------------------------------------------rn行 2: // rn行 3: // This code was generated by a tool.rn行 4: // Runtime Version: 1.0.3705.0rn行 5: //rn行 6: // Changes to this file may cause incorrect behavior and will be lost if rn行 7: // the code is regenerated.rn行 8: // rn行 9: //------------------------------------------------------------------------------rn行 10: rn行 11: namespace ASP rn行 12: using System;rn行 13: using System.Collections;rn行 14: using System.Collections.Specialized;rn行 15: using System.Configuration;rn行 16: using System.Text;rn行 17: using System.Text.RegularExpressions;rn行 18: using System.Web;rn行 19: using System.Web.Caching;rn行 20: using System.Web.SessionState;rn行 21: using System.Web.Security;rn行 22: using System.Web.UI;rn行 23: using System.Web.UI.WebControls;rn行 24: using System.Web.UI.HtmlControls;rn行 25: rn行 26: rn行 27: [System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()]rn行 28: public class Global_asax : WebApplication1.Global rn行 29: rn行 30: private static bool __intialized = false;rn行 31: rn行 32: public Global_asax() rn行 33: if ((ASP.Global_asax.__intialized == false)) rn行 34: ASP.Global_asax.__intialized = true;rn行 35: rn行 36: rn行 37: rn行 38: rn行 39: rn rnrn
出现如下错误是什么原因
“/z”应用程序中的服务器错误。rn--------------------------------------------------------------------------------rnrn分析器错误 rn说明: 在分析向此请求提供服务所需资源时出错。请检查下列特定分析错误详细信息并适当地修改源文件。 rnrn分析器错误信息: 未能加载类型“_415.Global”。rnrn源错误: rnrnrn行 1: <%@ Application Codebehind="Global.asax.cs" Inherits="_415.Global" %>rnrn rnrn源文件: D:\z\global.asax 行: 1 rnrnrn--------------------------------------------------------------------------------rn版本信息: Microsoft .NET 框架版本:1.0.3705.0; ASP.NET 版本:1.0.3705.
ssh2+tomcat+sqlserver2005 的一个项目配置jndi时报错,具体如下:
tomcat中context.xml配置如下:rnrn rnrnspring中dataSource配置如下:rnrnrnrnjava:comp/env/jdbc/firstrnrnrn报错如下:rnrnctory.BeanCreationException: Error creating bean with name 'hibernateTemplate' defined in file [E:\WorkBeach\Java-WorkBeach8.5\.metadata\.me_tcat\webapps\BookManagement\WEB-INF\classes\applicationContext-actions.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [E:\WorkBeach\Java-WorkBeach8.5\.metadata\.me_tcat\webapps\BookManagement\WEB-INF\classes\applicationContext-actions.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in file [E:\WorkBeach\Java-WorkBeach8.5\.metadata\.me_tcat\webapps\BookManagement\WEB-INF\classes\applicationContext-actions.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'jdbc/first' of bean class [org.springframework.jndi.JndiObjectFactoryBean]: Bean property 'jdbc/first' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?rnrn求高手赐教,先谢了啊!
Eclipse中的动态web项目,项目上报错,有红叉,但是展开项目,找不到哪里报错
Eclipse中的动态web项目,项目上报错,有红叉,但是展开项目,找不到哪里报错
我的ucos终于在51上跑起来了
小弟学ucos有一段时间了,总想找个移植的案例跑起来试试 前不久将kly兄的“小siae的uCOS2C51”下载下来,放到我的STC89C52RC中,发现跑不起来,郁闷了.... 后来在网上找了一个很好的关于uCOS2C51的移植总结(kly的移植就是从那上面改过来的),比较着调整了一些参数,刚才居然跑起来了,狂喜啊 就想着放上来大家一起学习
项目开启的时候报错。
警告: com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@16ce88a -- Acquisition Attempt Failed!!! Clearing pending acquires. While trying to acquire a needed new resource, we failed to succeed more than the maximum number of allowed acquisition attempts (30). Last acquisition attempt exception: rnjava.sql.SQLException: No suitable driverrn at java.sql.DriverManager.getDriver(DriverManager.java:264)rn at com.mchange.v2.c3p0.DriverManagerDataSource.driver(DriverManagerDataSource.java:223)rn at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:134)rn at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182)rn at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171)rn at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137)rn at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014)rn at com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32)rn at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810)rn at com.mchange.v2.async.ThreadPerTaskAsynchronousRunner$TaskThread.run(ThreadPerTaskAsynchronousRunner.java:255)rn
项目出现.so文件找不到
项目出现.so文件找不到: 如:libTHPlateID.so 但是却报错说找不到库。 解决方案: 1. 如果libs下没有.so文件,放入.so文件 2. 还有另一种可能 ,就是libs文件下有两个armeabi与armeabi-v7a文件夹: armeabi通用性强,但速度慢,而v7a能充分发挥v7a CPU的能力。armeabi就是针对普通的或旧的armc
在JBUILDER中build的时候出现如下错误
错误:rnrn"LyListAction.java": perform(org.apache.struts.action.ActionMapping,org.apache.struts.action.ActionForm,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) in org.apache.struts.action.Action has been deprecated at line 26, column 3rnrnThere have been deprecation warnings. Please consult the documentation for a better alternative.rnrn错误行为rn public ActionForward perform(ActionMapping mapping,rn ActionForm form,rn HttpServletRequest request,rn HttpServletResponse response)rnrnrn文件为:LyListAction.javarnrnrnpackage guestbook.maxuan.action;rnrnimport javax.naming.*;rnimport java.util.Properties;rnimport javax.rmi.PortableRemoteObject;rnimport java.util.*;rnrnimport java.util.Locale;rnimport javax.servlet.RequestDispatcher;rnimport javax.servlet.ServletException;rnimport javax.servlet.ServletConfig;rnimport javax.servlet.http.HttpServletRequest;rnimport javax.servlet.http.HttpSession;rnimport javax.servlet.http.HttpServletResponse;rnimport org.apache.struts.action.Action;rnimport org.apache.struts.action.ActionForm;rnimport org.apache.struts.action.ActionMapping;rnimport org.apache.struts.action.ActionForward;rnimport org.apache.struts.action.ForwardingActionForward;rnimport org.apache.struts.action.ActionServlet;rnimport org.apache.struts.util.MessageResources;rnimport guestbook.maxuan.ejb.control.*;rnimport guestbook.maxuan.action.*;rnrnpublic class LyListAction extends PActionrn public ActionForward perform(ActionMapping mapping,rn ActionForm form,rn HttpServletRequest request,rn HttpServletResponse response) rn Locale locale = getLocale(request);rn HttpSession session = request.getSession();rn Context ctx = (Context)session.getAttribute("ctx");rnrn if(ctx==null)rn ctx = getInitialContext();rn session.setAttribute("ctx",ctx);rn rnrn tryrn Object object = ctx.lookup("BookControl");rn BookControlHome bookHome = (BookControlHome) PortableRemoteObject.narrow(object,rnrnBookControlHome.class);rn BookControl bookControl = bookHome.create();rn ArrayList lyList = bookControl.getLyList();rn session.setAttribute("lyList",lyList);rn catch(Exception e)rn e.printStackTrace();rn rn return (mapping.findForward("success"));rn rnrnrn请问这类错误怎么解决啊???找了很久没有找到原因。。。求助。。。
出现空指针异常错误,找不到原因
import java.awt.*;rnimport javax.swing.*;rnimport java.awt.event.*;rnimport java.io.*;rnpublic class Ftest extends JFramernrn private static final long serialVersionUID = 1L;rn private JPanel jContentPane = null;rn private JTextArea jTextArea = null;rn private JPanel controlPanel = null;rn private JButton openButton = null;rn private JButton closeButton = null;rn private JButton getOpenButton()rn rn if(openButton == null)rn rn openButton = new JButton("写入文件");rn openButton.addActionListener(new ActionListener() rnrn public void actionPerformed(ActionEvent e) rn File file = new File("word.txt");rn tryrn rn FileWriter out = new FileWriter(file);rn String s = jTextArea.getText();rn out.write(s);rn out.close();rn rn catch(Exception e1)rn rn e1.printStackTrace();rn rn rn ); rn rn openButton.setBounds(80,80,20,18);rn return openButton;rn rn private JButton closeButton()rn rn if(closeButton == null)rn rn closeButton = new JButton("读取文件");rn closeButton.addActionListener(new ActionListener() rnrn public void actionPerformed(ActionEvent e) rn File file = new File("word.txt");rn tryrn rn FileReader in = new FileReader(file);rn char[] byt = new char[1024];rn int len = in.read(byt);rn jTextArea.setText(new String(byt,0,len));rn in.close(); rn rn catch(Exception e1)rn rn e1.printStackTrace();rn rn rn );rn rn openButton.setBounds(80,100,20,18);rn return closeButton;rn rn public Ftest()rn rn super();rn initialize();rn rn private void initialize()rn rn this.setSize(300,200);rn this.setContentPane(getJContentPane());rn this.setTitle("JFrame");rn rn private JPanel getJContentPane()rn rn if(jContentPane == null)rn rn jContentPane = new JPanel();rn jContentPane.setLayout(new BorderLayout());rn jContentPane.add(getJTextArea(),BorderLayout.CENTER);rn jContentPane.add(getControlPanel(),BorderLayout.SOUTH);rn rn return jContentPane;rn rn private JTextArea getJTextArea()rn rn return jTextArea;rn rnrn private JPanel getControlPanel()rn rn controlPanel.add(openButton);rn controlPanel.add(closeButton);rn return controlPanel;rn rn public static void main(String[] args)rn rn Ftest f = new Ftest();rn f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);rn f.setVisible(true);rn rnrnrnrnrn大神们,我看了好久还是找不出错误
单独编译可通过,但是链接时候报错....求原因
[code=C/C++]rn/*文件名 interface.h*/rn#include rn#include rntypedef struct STUDENTrnrn struct STUDENT *next;rn int studentid; rnStudent;rnrnextern void *my_malloc(size_t size);rnextern void my_free(void **p);rnrnextern void simple_printf(void);rnextern int simple_insert(int value);rnrn#define malloc(size) printf("Don't call malloc().Use MALLOC(num,type) instead.\n");\rn exit(1);rn#define MALLOC(num,type) (type *)my_malloc((num)*sizeof(type))rnrn#define free printf("Don't call free().Use FREE(num,type) instead.\n");\rn exit(1);rn#define FREE(p) my_free((void **)(&(p)))rnrn/*文件名implement.c*/rn#include "interface.h"rn#ifdef mallocrn #undef mallocrn#endifrn#ifdef freern #undef freern#endifrnrnvoid *my_malloc(size_t size)rnrn void *new_mem; rn new_mem = malloc(size);rn rn if(NULL == new_mem)rn rn printf("Out of memory!\n");rn exit(1);rn rn rn return new_mem;rn rnrnvoid my_free(void **p)rnrn free(*p); rn *p = NULL;rnrn/*文件名linkedlist.c*/rn#include "interface.h"rnrnstatic Student * rootp = NULL;rnrnint simple_insert(int value)rnrn Student *current = NULL;rn Student *previous = NULL;rn Student *newStudent = NULL;rn rn current = rootp;rn rn while(current != NULL && current->studentid next;rn rn rn //newStudent = (Student *)malloc(sizeof(Student));rn newStudent = MALLOC(1,Student);rn newStudent->studentid = value;rn newStudent->next = current;rn rn if(previous != NULL)rn previous->next = newStudent; rn elsern rootp = newStudent;rn rn return 0; rnrnrnvoid simple_printf(void)rnrn Student *current = NULL;rn current = rootp;rn rn while(current!= NULL)rn rn printf("%d ",current->studentid);rn current = current->next;rn rn rn printf("\n"); rnrnrn/*文件名 main.c*/rn#include "interface.h"rnrnint main(void)rnrn printf("\n");rn simple_insert(3012);rn rn simple_printf();rnrn[/code]
在点击VS的时候出现如下图中的提示框是什么原因?
[img=http://hi.csdn.net/attachment/201106/27/1187640_1309154589Kdpz.jpg][/img]
在移植linux 2.6.24.7的时候,出现如下问题,请问是什么原因?
\>makern CHK include/linux/version.hrnmake[1]: `include/asm-arm/mach-types.h' is up to date.rn CHK include/linux/utsrelease.hrn CALL scripts/checksyscalls.shrn:1097:2: warning: #warning syscall fadvise64 not implementedrn:1265:2: warning: #warning syscall migrate_pages not implementedrn:1321:2: warning: #warning syscall pselect6 not implementedrn:1325:2: warning: #warning syscall ppoll not implementedrn:1365:2: warning: #warning syscall epoll_pwait not implementedrn CHK include/linux/compile.hrn LD vmlinux.orn MODPOST vmlinux.orn GEN .versionrn CHK include/linux/compile.hrn UPD include/linux/compile.hrn CC init/version.orn LD init/built-in.orn LD vmlinuxrn SYSMAP System.maprn~/linux-2.6.24.7/scripts/mksysmap: line 43: ~/armgcc/3.4.1/bin/arm-linux-nm: No such file or directoryrnmake: *** [vmlinux] Error 1rn\>ls -l vmlinux* System.maprn-rw-r--r-- 1 songbj zx2802 0 Jul 1 11:02 System.maprn-rw-r--r-- 1 songbj zx2802 2598088 Jul 1 11:02 vmlinux.orn\>rnrn
微服务---加入redis配置时候,boot+cloud一跑起来就报错
项目依托redis部分的jar包只有这个部分,经过对jar的依赖,报错信息的提示,发现缺少了对应的spring-data-redis的jar包。 &amp;lt;dependency&amp;gt; &amp;lt;groupId&amp;gt;org.springframework.boot&amp;lt;/groupId&amp;gt; &amp;lt;artifactId&amp;gt;spring-boot-starter-redis&amp;lt;/...
新手.登录界面,出现这样的编译错误,是什么原因?
源码:rn<%@ Page Language="VB" ContentType="text/html" ResponseEncoding="gb2312" %>rn<%@Import Namespace="System.Data"%>rn<%@Import Namespace="System.Data.sqlclient"%>rnrnrn rn 无标题文档rn rnrn错误提示:rn“/”应用程序中的服务器错误。rn--------------------------------------------------------------------------------rnrn编译错误 rn说明: 在编译向该请求提供服务所需资源的过程中出现错误。请检查下列特定错误详细信息并适当地修改源代码。 rnrn编译器错误信息: BC30289: 语句不能出现在方法体内。假定已到达方法末尾。rnrn源错误:rnrn rnrn行 114: #End ExternalSourcern行 115: rn行 116: Public Sub New()rn行 117: MyBase.Newrn行 118: Dim dependencies As System.Collections.ArrayListrn rn
出现如下报错,可能是什么原因?
我的程序出现如下报错,可能是什么原因rnunhandled exception in *****.exe:0XC00000FD:stack overflow.
编译的时候出现如下错误
corelibc.lib(pegwmain.obj) : error LNK2019: unresolved external symbol WinMain referenced in function WinMainCRTStartuprnARMV4IRel/test_t.exe : fatal error LNK1120: 1 unresolved externalsrnError executing link.exe.rn rn请高手赐教rn是不是入口函数的问题,但是不知道具体怎么解决
服务器打开登录界面打不开了,找不到出现404错误
1.javax.servlet.http.HttpServletRequest导致新导入的项目报错 2.WsSessionListener.sessionCreated(Ljavax/servlet/http/HttpSessionEvent;)V 3.Request.getHttpServletMapping()Ljavax/servlet/http/HttpServletMapping ...
.NET跑起来了,asp却不动弹了....
.NET环境建好后,一直运行正常,昨天偶然发现,原来的asp程序却不能运行了,确切的说,连接数据库的程序无法运行。rniis提示:rnADODB.Connection错误:‘800aoe7a'rn未找到提供程序,该程序可能为正确安装。rnrn提示出错的语句如下rnset conn=Server.Creatobject("ADODB.Connection")rnconn,open"dsn=##;uid=##;pwd=**"rnrn怎么回事儿?该如何解决?
【Mysql】命令行执行存储过程报错,具体如下
[code=SQL]rnUSE `sql_db`;rnDROP PROCEDURE IF EXISTS `TigActiveAccounts`;rnCREATE DEFINER=`root`@`localhost` PROCEDURE `TigActiveAccounts`()rnbegin rn select user_jid, last_login, last_logout, online_status, failed_logins, account_status from tig_users where account_status > 0;rnend;rn[/code]rnrn报的错是:rnYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3
具体如下:
在informix中有一个表中数据如下:rnsddfd:dfd:rn另一个表中对应列如下rnsdfsd:dfd:dfsdfsdrn大概数据就是这个样子rn我想匹配两个表的数据rnsql条件语句如下:rnwhere s1.(列名) like ‘s1.(列名)%’rn可是结果是搜索不到,问题就出在最后那个冒号上rn我看过其中具体数据,拿出一个具体数据把冒号去掉,再用上面like语句就可以,为什么?这个SQL语句该怎么写?
进入 qt webkit directfb 报错如下:
(!?!) *** BUG [unknown object [2] in 'Layer Context Pool'] *** [object.c:149 in object_reference_watcher()]rn (!!!) *** WARNING [still objects in 'Layer Context Pool'] *** [object.c:241 in fusion_object_pool_destroy()]rn (!!!) *** WARNING [still objects in 'Surface Pool'] *** [object.c:241 in fusion_object_pool_destroy()]rn(!) FUSION_PROPERTY_CEDE --> Input/output errorrn[ 2410.310000] TMVSSDISPLAY: TMVSSDISPLAYNo swap chainrn0, 4 )rn[ 2410.580000] BUG: Bad page map in process mainmenu pte:0c00079f pmd:1eafe031rn[ 2410.590000] page:80f80000 count:1 mapcount:-1 mapping:(null) index:0x0rn[ 2410.590000] page flags: 0x4014(referenced|dirty|head)rn[ 2410.600000] addr:2f320000 vm_flags:400800ff anon_vma:(null) mapping:9f909978 index:c000rn[ 2410.610000] vma->vm_file->f_op->mmap: cnxt_lnx_ukal_mmap+0x0/0x188 [lnxKKALDrv]rn[ 2410.610000] [<80032418>] (unwind_backtrace+0x0/0xf0) from [<800a27c0>] (print_bad_pte+0x138/0x19c)rn[ 2410.620000] [<800a27c0>] (print_bad_pte+0x138/0x19c) from [<800a4464>] (unmap_vmas+0x534/0x758)rn[ 2410.630000] [<800a4464>] (unmap_vmas+0x534/0x758) from [<800a9790>] (exit_mmap+0xd8/0x158)rn[ 2410.640000] [<800a9790>] (exit_mmap+0xd8/0x158) from [<80048444>] (mmput+0x3c/0x108)rn------------------------------rn什么原因?
Eclipse项目导入报错原因
通常我们新导入的项目都会出现下面这种情况,像这种问题是很好解决的通常是我们的path没有加入进来,有时候是jre 有时候是tomcat 也有可能是maven ,如果仔细对照之后发现没什么问题,那再找下一个,不要着急,通常jre导入进去之后页面的类未找到异常,servlet未找到这种异常是不会再报错了,这样基本就解决问题了...
Java 登录界面 Java登录界面
Java编写的登录界面,用户名和密码用了数据库,很适合Java初学者!~
FLEX报错,但是数据已经显示出来了
代码:rnrn数据:private var dataXml2:String = ""+rn " "+rn " "+rn " "+rn " "+rn " "+rn "";rnrn报的是:this.tslPie3DChart2.FCDataXML = dataXml2;为空什么的;但是在饼图里面数据已经显示出来了……求给位帮忙看看是怎么个情况……谢谢了!rn
java 内存溢出,找不到具体原因,请大家帮忙看看?
rn IBM jdk 1.42 rn rn 运行环境是 websphere rnrn 我分析了下gc回收文件,发现内存是不断上升的,一般是2-3天就到了最大值2G,然后就内存溢出了。rnrn 但是通过gc回收文件看不出具体是哪个对象占用内存。我也分析了heapdump,同样也看不出来。有没有可以动态监控内存的使用情况的工具?或者大家有其他更好的方法。rnrn 另外程序有一个静态数据集 static Vector vc ,程序经常会大批量的向里面添加对象,使用完后也会remove掉。我认为这样应该会被回收掉吧,请大家帮忙看看。
备份过程如下,但是怎么找不到.DMP文件?
一般信息rn 导出文件: D:\ORACLE\EXPDAT1.DMPrn 导出类型: 用户rn 导出对象: TESTrn 关联对象: 与数据库对象相关的授权, 表的索引, 表数据的行数, 表的约束条件rnrn高级选项rn 日志文件: D:\ORACLE\EXPORT.LOGrnrn作业信息rn 名称: 导出0019rn 说明: 导出到文件D:\ORACLE\EXPDAT1.DMPrn 操作: 立即提交作业rnrn目标rn asiajoin.wflrnrn参数文件内容rn FILE=D:\ORACLE\EXPDAT1.DMPrn LOG=D:\ORACLE\EXPORT.LOGrn OWNER=TESTrn GRANTS=yrn INDEXES=yrn ROWS=yrn CONSTRAINTS=yrnrn谢先了!!!
linux_Ubuntu反复进入登录界面
反复进入登录界面,和系统的环境变量配置有关 解决: 1.重新启动,将光标停留在 recovery mode,然后按E 进入grub 编辑。 2.在编辑的最后一行输入 rw init=/bin/bash ,然后按Ctrl+X 重启 3.进入GRUB菜单,选择root ...(可能是resume ...) 进入命令行模式 4.启动vim,编辑/etc/environment  命令: v...
相关热词 c#检测非法字符 c#双屏截图 c#中怎么关闭线程 c# 显示服务器上的图片 api嵌入窗口 c# c# 控制网页 c# encrypt c#微信网页版登录 c# login 居中 c# 考试软件

相似问题

1
Java JFrame窗体中,而不是Java类中,按源中按钮事件行为中 跳至另一个界面出错,一直闪出新的同一个界面
1
java的GUI中的计算器界面
2
java中如何设计一个好看的窗体界面
12
java的ssm项目,如何做安全测试
5
java 插件项目里面使用JFram 后就报这个错?没有找到类?但是我单独跑的时候就可以跑起来。
5
tomcat中是否可以运行java项目
3
java web 项目 ssm框架开发 什么时候要使用多线程开发啊 大神列举下呗
23
Java项目中什么时候需要多线程?
11
Java idea 为什么导出war文件后原有的 web项目就跑不了
17
JAVA WEB项目如何获取API接口中的数据
25
javaweb的一个项目,为什么在首页一刷新就跳回用户登录界面了?
11
在java中如何限制后台只能指定某些电脑登录
6
本地java项目如何连接阿里云服务器上的mysql?
10
java项目怎么部署到生产环境,Java Project项目(带main方法),而不是Web项目
3
java web项目,如何过滤xml 非法字符,避免出现xxe漏洞?
5
项目运行出现Java heap space错误怎么解决的?
6
【JAVA】项目下有个lib,怎么在打包的时候把里面的jar自动加进项目?
4
怎样用Java描述数据库中出现的:当出现某种情况的时候就把这一条没用的数据删掉
4
idea在创建父子项目时,子项目的main包下java包和resources没有自动加载包权限
2
java项目中得到文件的发布路径,写文件时怎么和项目中的文件同步,求大神指点??????