请教大神 Parameter 'StartDate' not found. 异常 5C
 <select id="selHisSettlement" resultType="org.his.beans.HisSettlement">
    select * from HisSettlement 
    <where>
        <if test="StartDate!=null and StartDate!=''">
            AND POSJYSJ &gt;= #{StartDate}
        </if>
        <if test="EndDate!=null and EndDate!=''">
            AND POSJYSJ &lt;= #{EndDate}
        </if>
    </where>
</select>
 public String selHis(@Param("StartDate")String StartDate,@Param("EndDate")String EndDate) {
        try {
            List<HisSettlement> settlement = service.selHisSettlement(StartDate, EndDate);
0

3个回答

 public List<HisSettlement> selHisSettlement(@Param("StartDate")String StartDate,@Param("EndDate")String EndDate)

是这样写的吗?改好之后记得重启服务器,是在不行使用{0},{1}代替它们试下呢?

1
zhangqwe886
咸鱼zhang丶 都试过 就是不行 才发上来的
一年多之前 回复

@Param注解应该写在 selHisSettlement 这个方法的参数上。而不是外面的那个方法。

0
Y_F_C
昵称真操蛋 回复zhangqwe886: @Param注解必须用在Mapper接口方法的参数中。还有,这个@Param别导错了
一年多之前 回复
zhangqwe886
咸鱼zhang丶 谢谢,但是写了 还是报这个
一年多之前 回复

试一下去掉非空的if判断

0
zhangqwe886
咸鱼zhang丶 谢谢 , 不行的
一年多之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
MyBatis 出现参数绑定异常 Parameter 'start' not found.
MyBatis 出现参数绑定异常 Parameter 'start' not found. Available parameters are [0, param1, param2, state]rn下面是部分代码rnbean(提供了get set方法):rnrnrn```rn private Integer start;//起始记录rn private Integer end;//结束记录rn private Integer pageNumber;//当前页号rn private Integer pageSize;//每页显示记录数rn private Integer count;//总记录数rn private Integer totalPage;//总页数rn private List data=new ArrayList();//存储数据rn public Integer getStart() rn start=((pageNumber-1)*pageSize)+1;rn return start;rn rn public void setStart(Integer start) rn this.start = start;rn rn```rndao接口rnrnrn```rn public void getWorksByStatePage(PageBean pageBean,@Param("state")String state);rn```rnXML映射文件rn这里是调用Oracle存储过程完成的分页rnrn```rn rn call getWorksByStatePageAndUserId(rn #start,mode=IN,jdbcType=INTEGER,rn #end,mode=IN,jdbcType=INTEGER,rn #state,mode=IN,jdbcType=VARCHAR,rn #userID,mode=IN,jdbcType=INTEGER,rn #count,mode=OUT,jdbcType=INTEGER,rn #data,mode=OUT,jdbcType=CURSOR,javaType=ResultSet,resultMap=pageWorkrn )rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn```rn我在想是不是接口那里同时传入对象和String造成取不到值的问题,但是@Param("pageBean")加上以后XML用#pageBean.start的形式会有406错误rnrn已经改好了rn对象和普通参数一起使用要用@Param("pageBean") XML使用#pageBean.startrn或者XML直接用#0.start的形式取值rnrn后来报的406是因为springmvc的问题rn参考http://blog.csdn.net/aosica321/article/details/73471320解决的rnrnrnrnrnrnrn
ADOQuery1: Parameter 'name' not found.
在设计mdi登录窗体时:点“确定”按钮提示错误:ADOQuery1: Parameter 'name' not found.rn大家帮帮我。rn下面是FormLogin的代码:rnunit Unit7;rnrninterfacernrnusesrn Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,rn Dialogs, StdCtrls, DB, ADODB;rnrntypern TFormLogin = class(TForm)rn GroupBox1: TGroupBox;rn Label1: TLabel;rn Label2: TLabel;rn EditName: TEdit;rn EditPassword: TEdit;rn Button1: TButton;rn Button2: TButton;rn ADOQuery1: TADOQuery;rn ADOConnection1: TADOConnection;rn procedure FormKeyPress(Sender: TObject; var Key: Char);rn procedure Button2Click(Sender: TObject);rn procedure Button1Click(Sender: TObject);rn privatern Private declarations rn publicrn Public declarations rn end;rnrnvarrn FormLogin: TFormLogin;rnrnimplementationrnrnuses Main;rn$R *.dfmrnprocedure TFormLogin.Button1Click(Sender: TObject);rn Varrn AQuery:TADOQuery;rn sResult,sPw: string;rnbeginrn adoquery1.Close;rn adoquery1.SQL.Clear;rn adoquery1.SQL.Add('select * from pubyhmcb where useno=:name');rn adoquery1.Parameters.ParamByName('name').Value:=editname.Text;rn adoquery1.Open;rn if adoquery1.RecordCount<>0 thenrn beginrn sPw:=trim(adoquery1.FieldByName('password').AsString);rn AQuery := TADOQuery.Create(nil);rn AQuery.Connection :=adoquery1.connection;rn tryrn AQuery.Close;rn AQuery.SQL.Text := 'exec pr_cims_Encry'''+trim(editname.Text)+''','''+sPw+''',1';rn AQuery.Open;rn sResult:= AQuery.Fieldbyname('pw').AsString;rn finallyrn AQuery.Close;rn AQuery.Free;rn end;rn if sResult=trim(editpassword.Text) thenrn begin showmessage('成功登录');rn formlogin.Hide ;rn formmain.Show;rn end elsern showmessage('登录失败');rn exit;rn endrn else beginrn messagedlg('用户不存在!',mtinformation,[mbOK],0) ;rn exit;rn end;rn end;rnrnprocedure TFormLogin.Button2Click(Sender: TObject);rnbeginrnclose; //退出rnend;rnrnprocedure TFormLogin.FormKeyPress(Sender: TObject; var Key: Char);rnbeginrn if (key=#13) and (activecontrol is Tedit) thenrn beginrn key:=#0;rn perform(wm_nextdlgctl,0,0);rn end;rnend;rnend.
ordinal parameter mismatch异常(高分)
我的这个 SQL语句报了ordinal parameter mismatch异常,有碰到过这个异常的 朋友给个解决办法,我写出SQL语句,大家看了 别晕,有更好SQL语句代替这个的也给分rnrnselect ii.seq,ii.itemId,ii.title,ii.type,ii.displayRelationalLink,ii.relationalLink,ii.counter,ii.titleColor,ii.titlePic rnfrom rnInfoItem as ii,InfoColumn as ic,InfoColumnItem as ici,InfoTemplateParaInst as itpi rnwhere rnitpi.paraName = '是否需要审批' and itpi.paraValue = '0' and itpi.templateInstSeq = ic.templateInstanceSeq and ic.seq = ici.columnSeq and ici.itemSeq = ii.seq and ii.title like ? and ii.publishTime between to_date(?,'yyyy-mm-dd') and to_date(?,'yyyy-mm-dd') and ii.lastModifier like ? and ii.publisher like ? and ii.keyword like ? rnunion rnselect ii.seq,ii.itemId,ii.title,ii.type,ii.displayRelationalLink,ii.relationalLink,ii.counter,ii.titleColor,ii.titlePic rnfromrn InfoItem as ii,InfoColumn as ic,InfoColumnItem as ici,InfoTemplateParaInst as itpi,InfoItemAuditing as iia rnwhere rnitpi.paraName = '是否需要审批' and itpi.paraValue = '1' and itpi.templateInstSeq = ic.templateInstanceSeq and ic.seq = ici.columnSeq and ici.itemSeq = ii.seq and iia.auditingStatus = 1 and iia.itemSeq = ii.seq and ii.title like ? and ii.publishTime between to_date(?,'yyyy-mm-dd') and to_date(?,'yyyy-mm-dd') and ii.lastModifier like ? and ii.publisher like ? and ii.keyword like ?rnrnrnrn就是两个普通的查询union了起来,用了12个参数,请高手赐教
mybatis异常:org.apache.ibatis.binding.BindingException: Parameter '' not foun
1. 文件目录rn[img=https://img-bbs.csdn.net/upload/201612/17/1481973109_855823.png][/img]rn2. spring配置文件代码rn[code=text] rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn [/code]rn3. interface代码rn[code=java]package com.fourinnovation.dao;rnrnimport java.util.List;rnrnimport com.fourinnovation.annotation.MyBatisRepository;rnimport com.fourinnovation.bean.Emp;rnrn@MyBatisRepositoryrnpublic interface EmpMapper rn List findAll();rn //分页查询rn List findByPage(int begin,int end);rnrn[/code]rn4. mapper代码rn[code=text]rnrnrnrn rn select * from t_emprn rn rn rn select * from (rn select e.*,rownum r from (rn select * from t_emprn order by empno rn ) ern ) where r>=#0 and r<=#1rn rn[/code]rn5. 测试类代码rn[code=java] @Testrn public void test2()rn ApplicationContext ac=new ClassPathXmlApplicationContext("applicationContext.xml");rn EmpMapper mapper=ac.getBean("empMapper",EmpMapper.class);rn List list=mapper.findByPage(1,10);rn for(Emp e : list)rn System.out.println(e.getEmpno()+" "+e.getEname());rn rn [/code]rn6. 错误rn[code=text]org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.binding.BindingException: Parameter '0' not found. Available parameters are [arg1, arg0, param1, param2]rn at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:79)rn at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:447)rn at com.sun.proxy.$Proxy10.selectList(Unknown Source)rn at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:231)rn at org.apache.ibatis.binding.MapperMethod.executeForMany(MapperMethod.java:137)rn at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:75)rn at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)rn at com.sun.proxy.$Proxy11.findByPage(Unknown Source)rn at com.fourinnovation.test.TestCase.test2(TestCase.java:28)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rn at java.lang.reflect.Method.invoke(Unknown Source)rn at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)rn at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)rn at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)rn at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)rn at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)rn at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)rn at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)rn at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)rn at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)rn at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)rn at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)rn at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)rn at org.junit.runners.ParentRunner.run(ParentRunner.java:363)rn at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)rn at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)rn at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)rn at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:678)rn at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)rn at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)rnCaused by: org.apache.ibatis.binding.BindingException: Parameter '0' not found. Available parameters are [arg1, arg0, param1, param2]rn at org.apache.ibatis.binding.MapperMethod$ParamMap.get(MapperMethod.java:195)rn at org.apache.ibatis.reflection.wrapper.MapWrapper.get(MapWrapper.java:45)rn at org.apache.ibatis.reflection.MetaObject.getValue(MetaObject.java:122)rn at org.apache.ibatis.executor.BaseExecutor.createCacheKey(BaseExecutor.java:219)rn at org.apache.ibatis.executor.CachingExecutor.createCacheKey(CachingExecutor.java:146)rn at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:82)rn at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:148)rn at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:141)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rn at java.lang.reflect.Method.invoke(Unknown Source)rn at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:434)rn ... 30 morernrn[/code]rn7. 我用的是mybatis3.4.1,后来我换到了mybatis3.2.5就没有错误了。网上找了很多都没办法解决,刚学习mybatis请各位指教一下
Mybatis foreach 问题 Parameter 'item' not found. Available parameters are [list]
Mybatis 3.1.1rnMybatis-Spring 1.1.1rn都是目前最新的,其他版本的我也试过都有问题。rnrnsqlmap如下,删除语句没有问题,只有用到foreach的时候会出问题rnrn[code=html]rn rn rn select * from t_user where user_id in rn <foreach item="item" index="index" collection="list" open="(" separator="," close=")"> rn #item rn </foreach> rn rn rn rn rn rn delete from t_user where user_id = #userIdrn rn [/code]rnrn测试代码如下:rn[code=java]@Testrn public void testQueryForListByUserId()rn rn List userIds = new ArrayList();rn userIds.add(1);rn userIds.add(2);rn rn List list = userDao.queryForListByUserId(userIds);rn rn //Assert.assertNotNull(list);rn rn for(User user : list)rn System.out.print(user.getUserId() + "\t" + user.getUserName() +":");rn rn System.out.println();rn rn rn [/code]rnrn问题如下:rn[code=text]02:26:10.490 [main] DEBUG o.m.s.t.SpringManagedTransaction - JDBC Connection [com.mysql.jdbc.JDBC4Connection@169dd64] will not be managed by Springrn02:26:10.499 [main] DEBUG c.a.m.d.u.U.queryForListByUserId - ooo Using Connection [com.mysql.jdbc.JDBC4Connection@169dd64]rn02:26:10.503 [main] DEBUG c.a.m.d.u.U.queryForListByUserId - ==> Preparing: select * from t_user where user_id in ? rn02:26:10.533 [main] DEBUG org.mybatis.spring.SqlSessionUtils - Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@1406eb6]rnFAILED: testQueryForListByUserIdrnorg.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.binding.BindingException: Parameter 'item' not found. Available parameters are [list]rn at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)rn at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:365)rn at $Proxy16.selectList(Unknown Source)rn at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:195)rn at org.apache.ibatis.binding.MapperMethod.executeForMany(MapperMethod.java:124)rn at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:90)rn at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:40)rn at $Proxy17.queryForListByUserId(Unknown Source)rn at com.abrahu.mybatis.user.role.Test_UserDao.testQueryForListByUserId(Test_UserDao.java:45)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)rn at org.testng.internal.MethodInvocationHelper$1.runTestMethod(MethodInvocationHelper.java:182)rn at org.springframework.test.context.testng.AbstractTestNGSpringContextTests.run(AbstractTestNGSpringContextTests.java:158)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.testng.internal.MethodInvocationHelper.invokeHookable(MethodInvocationHelper.java:194)rn at org.testng.internal.Invoker.invokeMethod(Invoker.java:695)rn at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:894)rn at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1219)rn at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)rn at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)rn at org.testng.TestRunner.privateRun(TestRunner.java:768)rn at org.testng.TestRunner.run(TestRunner.java:617)rn at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)rn at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)rn at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)rn at org.testng.SuiteRunner.run(SuiteRunner.java:240)rn at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53)rn at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:87)rn at org.testng.TestNG.runSuitesSequentially(TestNG.java:1185)rn at org.testng.TestNG.runSuitesLocally(TestNG.java:1110)rn at org.testng.TestNG.run(TestNG.java:1022)rn at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:109)rn at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:202)rn at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:173)rnCaused by: org.apache.ibatis.binding.BindingException: Parameter 'item' not found. Available parameters are [list]rn at org.apache.ibatis.session.defaults.DefaultSqlSession$StrictMap.get(DefaultSqlSession.java:254)rn at org.apache.ibatis.reflection.wrapper.MapWrapper.get(MapWrapper.java:40)rn at org.apache.ibatis.reflection.MetaObject.getValue(MetaObject.java:123)rn at org.apache.ibatis.executor.parameter.DefaultParameterHandler.setParameters(DefaultParameterHandler.java:83)rn at org.apache.ibatis.executor.statement.PreparedStatementHandler.parameterize(PreparedStatementHandler.java:77)rn at org.apache.ibatis.executor.statement.RoutingStatementHandler.parameterize(RoutingStatementHandler.java:58)rn at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:71)rn at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:56)rn at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:267)rn at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:141)rn at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:105)rn at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:81)rn at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:101)rn at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:95)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:355)rn ... 38 morernrnrn===============================================rn Default testrn Tests run: 1, Failures: 1, Skips: 0rn===============================================[/code]rnrn请各位大师帮忙看看如何解决。
ManagementException : Invalid parameter异常如何解决?
ManagementScope Conn = new ManagementScope("\\\\" + txtWmiIpOrAddress.Text + "\\root\\cimv2", options); 处报错:ManagementException : Invalid parameter
'com.neenbedankt.android-apt' not found.
具体问题:rnError:(2, 1) A problem occurred evaluating project ':Tuikan-master'.rn> Plugin with id 'com.neenbedankt.android-apt' not found.rnrn尝试了以下方法:rn1、 dependencies compile 'com.neenbedankt.gradle.plugins:android-apt:1.8';rn2、 dependencies rn classpath 'com.android.tools.build:gradle:2.1.0'rn classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'rn rn问题依然存在,[b]请赐教。[/b]rn
请教:ORA-01009: missing mandatory parameter
当我生成一个比较复杂或者比较长的SQL语句是,就会报这样的错误,但是一摸一样的SQL语句拷贝到SQL PLUS下却是能运行的,这是怎么回事?rn我使用的是JDK1.4和JDBC,请各位指教!谢谢!
ost.localdomain_orcl not found.
[oracle@localhost bin]$ ./emctl start dbconsolernTZ set to PRCrnOC4J Configuration issue. /home/oracle/OraHome_1/oc4j/j2ee/OC4J_DBConsole_localh ost.localdomain_orcl not found.rn[oracle@localhost bin]$rn请各位帮我看一下这是什么错误rnRedHat AS3 + Oracle10g
问:DATEDIFF ( datepart , startdate , enddate )
DATEDIFF ( datepart , startdate , enddate ) 是什么东东?哪个给讲解一下?能给出例子就更好了!谢谢
asp.net异常,求大神!!!
输入字符串的格式不正确。 rn说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 rnrn异常详细信息: System.FormatException: 输入字符串的格式不正确。rnrn源错误: rnrnrn行 87: rn行 88: rn行 89: if (int.Parse(lblPreSent.Text) == int.Parse(lblTotal.Text))rn行 90: rn行 91: rn rnrn源文件: C:\Users\Administrator\Desktop\第三组\吉大订餐\LazyEating.UI.Web\Foods.aspx.cs 行: 89 rnrn堆栈跟踪: rnrnrn[FormatException: 输入字符串的格式不正确。]rn System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) +7471623rn System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) +119rn System.Int32.Parse(String s) +23rn LazyEating.UI.Web.Foods.lbtnNext_Click(Object sender, EventArgs e) in C:\Users\Administrator\Desktop\第三组\吉大订餐\LazyEating.UI.Web\Foods.aspx.cs:89rn System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) +111rn System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +79rn System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10rn System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13rn System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +175rn System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565rnrn rn
No soundcards found.
[img=https://img-bbs.csdn.net/upload/201610/29/1477729435_853445.jpg][/img]rn[size=12px]现在是已经把kernel和rootfs固化到flash里了,但是显示这个,rn怀疑是不是根文件出问题了?rn2.730000000 显示弄soundoards found是没声卡驱动?[/size]
在线请教:WARN Configurator:126 - No configuration found.
No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/D:/Tomcat%206.0/webapps/bnwz/WEB-INF/lib/ehcache-1.1.jar!/ehcache-failsafe.xmlrn到网上搜了下都说的lib下没有ehcache.xml,但是我有ehcache-1.1.jar的啊`````rn请各位帮忙看下怎么解决
Parameter number 8 is not an OUT parameter
java中异常如上:rn存储过程如下:rnCREATE DEFINER=`root`@`localhost` PROCEDURE `inCharge`(rnin depId int, /*入库明细*/rnin comId int, /*门诊编号*/rnin doctorId int, /*医生编号*/rnin nurseId int, /*护士编号*/rnin patient varchar(20), /*病人姓名*/ rnin patAge int, /*病人年龄*/rnin chaTime varchar(20) , /*时间*/ rnout chid int, /*收费Id*/ rnin chaType int, /*费用类型*/rnin patSex varchar(20) /*性别*/ rn rn)rnbeginrnrn程序中调用如下:rnrnString sql = "call inCharge(?,?,?,?,?,?,?,?,?,?)";rn int result=0;rn try rn ps = con.prepareCall(sql);rn ps.setInt(1, charge.getDepId());rn ps.setInt(2, charge.getComId());rn ps.setInt(3, charge.getDoctorId());rn ps.setInt(4, charge.getNurseId());rn ps.setString(5, charge.getPatient());rn ps.setInt(6, charge.getPatAge());rn ps.setString(7, charge.getChaTime());rn ps.setInt(9, charge.getChaType());rn ps.setString(10, charge.getPatSex()); rn ps.registerOutParameter(8, java.sql.Types.INTEGER);rn ps.execute();rn result= ps.getInt(8);rnrn异常如下:rnjava.sql.SQLException: Parameter number 8 is not an OUT parameterrn很是奇怪。rn
jQuery("#startDate").datepicker is not a function
在主页上不好使,报错。导致以下的javascript,不运行。在测试界面就好使,我想知道什么原因。rn我导入的顺序是rn rn rn rn rn rn rn rn rn rn rn rn rnrn是哪的错误呢?
Hibernate执行存储过程报了一个郁闷的异常(Column 'user2_0_0_' not found.)
public static void executeProNoPara() rn // 执行存储过程rn Session session = HibernateSessionFactory.getSession();rnrn [color=#FF0000]// SQLQuery sqlQuery = session.createSQLQuery("call test()").addEntity(rn // com.ssh.user.User.class);[/color] List list = session.getNamedQuery("test").list();rn [color=#FF0000]// List list = sqlQuery.list();[/color] User user = null;rn for (int i = 0; i < list.size(); i++) rn user = (User) list.get(i);rn System.out.println(user.getUserName() + " " + user.getPassword());rn rn rnrn上面的代码是我调用存储过的代码,其中标红的部分是以SQLQuery的方式调用的,没有问题,但是我个人觉得这种方式不是很好,久用 了上面没有注释的方法,但是报了一个很奇怪的异常rn2013-01-03 16:48:11,531 WARN [org.hibernate.util.JDBCExceptionReporter] - SQL Error: 0, SQLState: S0022rn2013-01-03 16:48:11,546 ERROR [org.hibernate.util.JDBCExceptionReporter] - Column 'user2_0_0_' not found.rnException in thread "main" org.hibernate.exception.SQLGrammarException: could not execute queryrn at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:67)rn at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)rn at org.hibernate.loader.Loader.doList(Loader.java:2147)rn at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2028)rn at org.hibernate.loader.Loader.list(Loader.java:2023)rn at org.hibernate.loader.custom.CustomLoader.list(CustomLoader.java:289)rn at org.hibernate.impl.SessionImpl.listCustomQuery(SessionImpl.java:1695)rn at org.hibernate.impl.AbstractSessionImpl.list(AbstractSessionImpl.java:142)rn at org.hibernate.impl.SQLQueryImpl.list(SQLQueryImpl.java:150)rn at com.ssh.test.Test.executeProNoPara(Test.java:71)rn at com.ssh.test.Test.main(Test.java:46)rnCaused by: java.sql.SQLException: Column 'user2_0_0_' not found.rn at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073)rn at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:987)rn at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:982)rn at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:927)rn at com.mysql.jdbc.ResultSetImpl.findColumn(ResultSetImpl.java:1144)rn at com.mysql.jdbc.ResultSetImpl.getString(ResultSetImpl.java:5610)rn at org.hibernate.type.StringType.get(StringType.java:18)rn at org.hibernate.type.NullableType.nullSafeGet(NullableType.java:113)rn at org.hibernate.type.NullableType.nullSafeGet(NullableType.java:102)rn at org.hibernate.type.AbstractType.hydrate(AbstractType.java:81)rn at org.hibernate.persister.entity.AbstractEntityPersister.hydrate(AbstractEntityPersister.java:2031)rn at org.hibernate.loader.Loader.loadFromResultSet(Loader.java:1371)rn at org.hibernate.loader.Loader.instanceNotYetLoaded(Loader.java:1299)rn at org.hibernate.loader.Loader.getRow(Loader.java:1197)rn at org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:568)rn at org.hibernate.loader.Loader.doQuery(Loader.java:689)rn at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)rn at org.hibernate.loader.Loader.doList(Loader.java:2144)rn ... 8 morern根据异常信息是说找不到“'user2_0_0_”这个字段,但是我从来没有用到这个字段,数据库里没有,代码里没有,映射文件也没有,所以我实在不懂这个错误是怎么产生的,请高手帮我看看,谢谢了,急需解决!
请教大神
现在用的是别的公司自己搭建的框架 我把代码拷到本地,数据库也连接上了 ,但是在本地跑不起来,问下php怎么开启错误日志?
请教大神。。。
假如有个文件test 内容为rn----------aaaarn12121221121221212rn21212121222212121rnrn----------bbbbrn21212121212121221rn21212221212121221rn21222121rnrn----------aaaarnfsdfsfsfsdfe4234324342rndsfdsfdsfsdfrnrn如何用命令按关键字aaaa筛选出以下内容rn----------aaaarn12121221121221212rn21212121222212121rnrn----------aaaarnfsdfsfsfsdfe4234324342rndsfdsfdsfsdf
大神请教
当项目上线的时候 用户访问量比较大, 可能超过十万 下面的应该怎么样配置比较合理rnrnrn rn 2rn rn rn rn 50rn rn rn rn 50rn rn rn rn 0rn rn rn rn falsern rn rn rn truern rn rn rn 60rn rn rn rn 1000rn
期待大神出现(Expression Error: Named Object: 'userService' not found.)
[color=#FF0000]我得工程配置是JSF+Hibeinate+Spring三个结合起来的,出现这个错误,救我![/color]rn错误:rn严重: Servlet.service() for servlet jsp threw exceptionrnjavax.faces.el.EvaluationException: Expression Error: Named Object: 'userService' not found.rn at com.sun.faces.config.ManagedBeanFactory.getScopeForSingleExpression(ManagedBeanFactory.java:998)rn at com.sun.faces.config.ManagedBeanFactory.hasValidLifespan(ManagedBeanFactory.java:931)rn at com.sun.faces.config.ManagedBeanFactory.evaluateValueBindingGet(ManagedBeanFactory.java:892)rn at com.sun.faces.config.ManagedBeanFactory.setPropertiesIntoBean(ManagedBeanFactory.java:553)rn at com.sun.faces.config.ManagedBeanFactory.newInstance(ManagedBeanFactory.java:234)rn
java.lang.RuntimeException异常,请大神赐教!!!
11-18 09:39:51.281 19604-19604/com.example.admin.emotion E/AndroidRuntime: FATAL EXCEPTION: mainrn Process: com.example.admin.emotion, PID: 19604rn java.lang.RuntimeException: Unable to start activity ComponentInfocom.example.admin.emotion/com.example.admin.emotion.MainFragment: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.view.View.setOnClickListener(android.view.View$OnClickListener)' on a null object referencern at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2793)rn at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2864)rn at android.app.ActivityThread.-wrap12(ActivityThread.java)rn at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1567)rn at android.os.Handler.dispatchMessage(Handler.java:105)rn at android.os.Looper.loop(Looper.java:156)rn at android.app.ActivityThread.main(ActivityThread.java:6524)rn at java.lang.reflect.Method.invoke(Native Method)rn at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:941)rn at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:831)rn Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.view.View.setOnClickListener(android.view.View$OnClickListener)' on a null object referencern at com.example.admin.emotion.MainFragment.initView(MainFragment.java:80)rn at com.example.admin.emotion.MainFragment.onCreate(MainFragment.java:59)rn at android.app.Activity.performCreate(Activity.java:6910)rn at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1123)rn at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2746)rn at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2864) rn at android.app.ActivityThread.-wrap12(ActivityThread.java) rn at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1567) rn at android.os.Handler.dispatchMessage(Handler.java:105) rn at android.os.Looper.loop(Looper.java:156) rn at android.app.ActivityThread.main(ActivityThread.java:6524) rn at java.lang.reflect.Method.invoke(Native Method) rn at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:941) rn at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:831) rn出问题的代码:rnprotected void onCreate(Bundle savedInstanceState) rn rn super.onCreate(savedInstanceState);rn setContentView(R.layout.content_main);rn fragmentManager = getSupportFragmentManager();rn initView();rn setChioceItem(0);rn rnrn private void initView() rn firstImage = (ImageView) findViewById(R.id.first_image);rn secondImage = (ImageView) findViewById(R.id.second_image);rn thirdImage = (ImageView) findViewById(R.id.third_image);rn fourthImage = (ImageView) findViewById(R.id.fourth_image);rn firstText = (TextView) findViewById(R.id.first_text);rn secondText = (TextView) findViewById(R.id.second_text);rn thirdText = (TextView) findViewById(R.id.third_text);rn fourthText = (TextView) findViewById(R.id.fourth_text);rn firstLayout = (RelativeLayout) findViewById(R.id.first_layout);rn secondLayout = (RelativeLayout) findViewById(R.id.second_layout);rn thirdLayout = (RelativeLayout) findViewById(R.id.third_layout);rn fourthLayout = (RelativeLayout) findViewById(R.id.fourth_layout);rnrn firstLayout.setOnClickListener(MainFragment.this);rn secondLayout.setOnClickListener(MainFragment.this);rn thirdLayout.setOnClickListener(MainFragment.this);rn fourthLayout.setOnClickListener(MainFragment.this);rn
大神,请进。诡异的类型转换异常。
各位大牛,来看看看这个异常吧。rnrn代码背景:rn这是两个项目的整合,在A项目中用session set了一个对象,然后将其封装到一个servletContext中,代码如下:rn[code=Java]HttpSession session = request.getSession(true);rn session.setAttribute(Constant.USER_SESSION, user);rn ServletContext context=session.getServletContext();rn context.setAttribute("session", session);[/code]rnrn然后在B项目中获取这个user对象,代码如下:rn[code=Java]HttpSession session=request.getSession();rn ServletContext Context=session.getServletContext();rn ServletContext Context1=Context.getContext("/A");rn if(Context1 !=null && !Context1.equals("")) rn HttpSession sess =(HttpSession)Context1.getAttribute("session");rn User user=(User)sess.getAttribute(Constant.USER_SESSION);rn if(user!=null)rn System.out.println("username:--------"+user.getUserName());rn [/code]rn然后抛出一个类型转换异常:rn[code=Java]java.lang.ClassCastException: com.nodoor.vo.User cannot be cast to com.nodoor.vo.User[/code]rn我这样测试了下:System.out.println(sess.getAttribute(Constant.USER_SESSION) instanceof User)rn结果竟然是false....求解。。。。rn诡异的异常。纠结我一天了。。求解脱。rn
mysql异常 求大神指导
Unknown column 'Project1.content' in 'field list' 在 MySql.Data.MySqlClient.MySqlStream.ReadPacket() 在 MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId) 在 MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force) 在 MySql.Data.MySqlClient.MySqlDataReader.NextResult() 在 MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) 在 MySql.Data.Entity.EFMySqlCommand.ExecuteDbDataReader(CommandBehavior behavior) 在 System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) 在 System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext) 在 System.Data.Entity.Core.EntityClient.Internal.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior)
求助JMX大神jmx.remote.connection.notifs.lost的异常
在做一个cs结构的java工程时,使用了jmx作为客户端和服务器的消息传递机制。rn目前服务器会不定时的出现servercommunicatoradmin reincoming,The server has decided to close this client connection.rn然后客户端程序相应的出现jmx.remote.connection.notifs.lost,其中stattype是may have lost up to 1515378549731 notifications。。。这让人很崩溃啊,请论坛大神救救我。
大神求助,java java.lang.NullPointerException异常
package com.qq.client.view;rnimport java.awt.*;rnimport javax.swing.*;rnpublic class QqFriendList extends JFrame rn JPanel jpf1,jpf2,jpf3;rn JButton jpf1_jb1,jpf1_jb2,jpf1_jb3;rn JScrollPane jsp=null;rn JPanel jps1,jps2,jps3;rn JButton jps1_jb1,jps1_jb2,jps1_jb3;rn JScrollPane jsp1=null;rn CardLayout cl=null;rn public static void main(String []args)rn QqFriendList qfl=new QqFriendList();rn rn public QqFriendList()rn jpf1=new JPanel(new BorderLayout());rn jpf2=new JPanel(new GridLayout(50, 1, 4, 4));rn JLabel []jls1=new JLabel[50];rn for(int i=0;i
大神,麻烦解决下异常 谢谢
做了一个C#局域网五子棋游戏,每次注册或者登陆都会异常,还会显示端口号被占用,请问大概是什么问题引发的异常:“System.Threading.ThreadAbortException”(位于 GobangClass.dll 中)线程 0x1e54 已退出,返回值为 0 (0x0)。“ClientGobang.exe”(CLR v2.0.50727: ClientGobang.exe): 已加载“...
configure: error: png.h not found.
宿主机:ubuntu 15.10rndocker:1.10.3rn在执行 sudo docker build -t eva/php .的时候,报错:rnconfigure: error: png.h not found.rnrn按照dockershare.com上的教程:rnhttp://dockershare.com/article/10rnrn错误截图:[img=https://img-bbs.csdn.net/upload/201604/14/1460644746_917429.png][/img]rn[img=https://img-bbs.csdn.net/upload/201604/14/1460644800_809483.png][/img]rnrn这样的错误,应该构建镜像的时候,安装php,没找到相关组件吗?rnrn在docker中,该如何解决?
Document is invalid: no grammar found.
2011-7-3 9:28:56 com.opensymphony.xwork2.util.logging.commons.CommonsLogger errorrn严重: Document is invalid: no grammar found. at (null:2:12)rnorg.xml.sax.SAXParseException: Document is invalid: no grammar found.rn at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)rn at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:131)rn at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:384)rn at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:318)rn at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:250)rn at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:626)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3095)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:921)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)rn at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)rn at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)rn at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)rn at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)rn at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)rn at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)rn at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)rn at com.opensymphony.xwork2.util.DomHelper.parse(DomHelper.java:113)rn ......rn2011-7-3 9:28:56 com.opensymphony.xwork2.util.logging.commons.CommonsLogger errorrn严重: Caught exception while loading file [color=#FF0000]action/b-validation.xml[/color]rnDocument is invalid: no grammar found. - file:///D:/Program%20Files/apache-tomcat-6.0.32/bin/action/b-validation.xml:2:12rn at com.opensymphony.xwork2.util.DomHelper.parse(DomHelper.java:115)rn at com.opensymphony.xwork2.validator.DefaultValidatorFileParser.parseActionValidatorConfigs(DefaultValidatorFileParser.java:69)rn at com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.loadFile(AnnotationActionValidatorManager.java:338)rn at com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.buildClassValidatorConfigs(AnnotationActionValidatorManager.java:225)rn at com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.buildValidatorConfigs(AnnotationActionValidatorManager.java:317)rn at com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.getValidators(AnnotationActionValidatorManager.java:65)rn at com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.validate(AnnotationActionValidatorManager.java:104)rn at com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.validate(AnnotationActionValidatorManager.java:96)rn at com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.validate(AnnotationActionValidatorManager.java:91)rn at com.opensymphony.xwork2.validator.ValidationInterceptor.doBeforeInvocation(ValidationInterceptor.java:211)rn at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:250)rn at org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68)rn at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn at com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:122)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:195)rn at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:195)rn at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn at com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:179)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn at org.apache.struts2.interceptor.MultiselectInterceptor.intercept(MultiselectInterceptor.java:75)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn at org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:94)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn at org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:235)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn at com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:89)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn at com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInterceptor.java:130)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn at org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:267)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn at com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:126)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn at com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:138)rn at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn at com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:165)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn at org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:164)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn at com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:179)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn at com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:176)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn at org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:52)rn at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:488)rn at org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77)rn at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:91)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)rn at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:864)rn at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579)rn at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1665)rn ......rn at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:131)rn at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:384)rn at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:318)rn ......rn at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)rn at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)rn at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)rn at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)rn at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)rn at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)rn at com.opensymphony.xwork2.util.DomHelper.parse(DomHelper.java:113)rn ... 64 more
404 - File or directory not found.
配置好远程服务器(AWS)的IIS后,我用VS2010新建一个ASP.net的网站,发布到本地文件夹WebSite,然后把本地WebSite里的内容考到远程服务器的wwwroot文件夹下。登录网站IP,出现404 - File or directory not found.的页面。大概是什么问题?IIS配置过程中与那些要注意的吗?
The specified URL cannot be found.
PHP页面test.php是个上传页面 能够直接打开 但是接受上传就提示The specified URL cannot be found. 代码绝对没有错误!rn
Query2: Field ‘net_p' not found.
TQuery的Active属性改成false,加了一个New field “net_p”,再把Active属性改成true时,提示”Query: Field ‘net_p' not found."rnrnSQL语句:select * from recorddata order by alarmtime descrnrn我在“recorddata"里已经添加了“net_p”了 (“net_p”是我新加的一个变量)rnrn求教这是什么原因
JSP: Class not found.
我从 Oreilly 网站下载实例和相关 Jar,将实例包解压缩到 Tomcat3.3.1\webapp 下后运行正常(脱离 JBuilder),但在 JBuilder7.0 环境中运行实例提示没有找到 Oreilly 的 Bean:rnclass not found: class com.ora.jsp...rnrn我已经:rnrn 1.从 Tool_Configure Libraries 添加 Oreilly 的 Jar 到 JBuilder 库中;rnrn 2.添加库到 Project Properties 中;rnrn 3.重启 JBuilder7.0;rnrn 4.在jbuilder,project configure->server->tomcat 3->required library里面把oreilly的jar加入;rnrn 5.import com.ora.jsp. .....rnrn为什么会出现这种情形?代码是完全一样的,难道我这样设置 JBuilder 不完整吗?rn
class WCAlignEdit not found.
RT,在線等
请教:error A2111: conflicting parameter definition
他说我下面第一行有错,怎么改?rnwsprintfA proto C :DWORD,:DWORD,:VARARGrnwsprintf TEXTEQU rn另外,我想请问win32asm中的error序号在哪里可以查到?
请教ADO的Parameter能不能按名字对应
用TADOQuery创建Parameter的顺序一定要和SQL里面出现的顺序一样,能不能按Parameter名称来对应?
菜鸟请教ADO中parameter的用法
用ACCESS建了一数据库,里面有一个带参数查询.现在想通过ADO访问该查询结果,请问如何写入查询参数并返回查询结果?rn在线等......
java.sql.SQLException: Column 'gp_id' not found.
在hibernate中调用存储过程,其中我的存储过程编写如下:rn[code=HTML]rnDELIMITER $$rnrnDROP PROCEDURE IF EXISTS `qdrk`.`undobusiness`$$rnrnCREATE DEFINER=`root`@`localhost` PROCEDURE `undobusiness`()rnBEGINrn DECLARE business_date timestamp default current_timestamp;rn DECLARE mon int;rn SELECT business_date;rn SELECT max(plandate) into business_date from jz_business_plan;rn SELECT business_date;rn set mon = DATE_FORMAT(business_date,'%m');rn WHILE (mon < DATE_FORMAT(Now(),'%m')) dorn select g_id ,gb_id,account_id,bs_id from jz_gbmes where ((stday < date_format(Now(),'%d') and enday > date_format(Now(),'%d') and remindtype= '2');rn insert into jz_business_plan(g_id,gb_id,account_id,bs_id) values(g_id,gb_id,account_id,bs_id); rn set mon = mon+1;rn end WHILE; rn SELECT * from jz_business_plan WHERE DATE_FORMAT(jz_business_plan.plandate,'%m') = DATE_FORMAT(now(),'%m');rnEND$$rnrnDELIMITER ;rn[/code]rnhibernate的配置文件如下:rn[code=Java]rnrn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn call undobusiness()rn rnrn[/code]rn我调用的时候会出现java.sql.SQLException: Column 'gp_id' not found.错误,麻烦老大帮我看看我的存储过程有问题么?
javax.servlet.ServletException: Column '1' not found.
[code=HTML]">修改[/code]rn加下这个代码有下面错误:javax.servlet.ServletException: Column '1' not found. rnorg.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:841) rnorg.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:774) rnorg.apache.jsp.admin_jsp._jspService(admin_jsp.java:106) rnorg.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98) rnjavax.servlet.http.HttpServlet.service(HttpServlet.java:803) rnorg.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331) rnorg.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329) rnorg.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) rnjavax.servlet.http.HttpServlet.service(HttpServlet.java:803) rnrnuser表结构:+---------------+-------------+------+-----+---------+----------------+ rn¦ Field ¦ Type ¦ Null ¦ Key ¦ Default ¦ Extra ¦ rn+---------------+-------------+------+-----+---------+----------------+ rn¦ id ¦ int(11) ¦ NO ¦ PRI ¦ NULL ¦ auto_increment ¦ rn¦ USERNAME ¦ varchar(15) ¦ NO ¦ ¦ ¦ ¦ rn¦ PASSWORD ¦ varchar(15) ¦ NO ¦ ¦ fuyou ¦ ¦ rn¦ ANSWERQUSTION ¦ varchar(45) ¦ YES ¦ ¦ fuyou ¦ ¦ rn¦ ANSWER ¦ varchar(45) ¦ YES ¦ ¦ fuyou ¦ ¦ rn¦ INFO ¦ varchar(45) ¦ YES ¦ ¦ fuyou ¦ ¦ rn¦ enroll ¦ char(2) ¦ YES ¦ ¦ 0 ¦ ¦ rn¦ verify ¦ char(2) ¦ YES ¦ ¦ 0 ¦ ¦ rn+---------------+-------------+------+-----+---------+----------------+
The MIDlet suite was not found.!!??
Running in the identified_third_party security domainrnThe MIDlet suite was not found.rnExecution completed.rn3377583 bytecodes executedrn21 thread switchesrn1665 classes in the system (including system classes)rn17353 dynamic objects allocated (521188 bytes)rn1 garbage collections (0 bytes collected)rnrnrn明明有midlet的呀,,怎么回事?
wince6.0, No IPv4 adapter found.
输入命令检索仿真器的IP地址,s ipconfig /d,调试输出窗口中提示:No IPv4 adapter found。请教大家,谢谢。
相关热词 c#异步发送kafka c#窗体编号 c# 操作二进制文件 c# 反射 机制 c#线程 窗体失去响应 c#角度转弧度 c# 解析gps数据 c# vs设置 语法版本 c# json含回车 c#多线程demo