there have been an (exception) _________ number of rainy day

chencong14582022-10-04 11:39:541条回答

there have been an (exception) _________ number of rainy days this year.

已提交,审核后显示!提交回复

共1条回复
rr怪探 共回答了28个问题 | 采纳率89.3%
exceptional
1年前

相关推荐

java.lang.IllegalArgumentException:addChild:Child name 'ssi'
java.lang.IllegalArgumentException:addChild:Child name 'ssi' is not unique
Caused by:java.lang.IllegalArgumentException:addChild:Child name 'ssi' is not unique
x05at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:781)
x05at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
x05at org.apache.catalina.core.StandardContext.addChild(StandardContext.java:2037)
x05...46 more
2011-9-1 13:56:29 org.apache.catalina.startup.ContextConfig applicationWebConfig
严重:Parse error in application web.xml file at jndi:/localhost/CMS/WEB-INF/web.xml
java.lang.IllegalArgumentException:addChild:Child name 'ssi' is not unique
terrytql1年前1
purple_love07 共回答了12个问题 | 采纳率91.7%
tomcat里配置启动信息的时候可能配置了两个相同的名字的项目
类似于这样,你的tomcat里server.xml里配置了两个相同的项目
新来得人常常发现很难适应这儿的气候,我们也不例外.(用exception单词翻译)谢谢
生命的故事1年前2
ilnana001 共回答了19个问题 | 采纳率84.2%
New comers always find it hard to adapt to the climate here,and we are no exception.
地道的翻译就不能直译.百度教育团队【海纳百川团】为您解答
请点击“选为满意答案”按钮,
make an exception in our case
make an exception in our case
make an exception 例外in our
lastvong1年前3
apple19820102 共回答了23个问题 | 采纳率95.7%
make an exception in our case
请破例一次完成我们之间的交易吧.
make an exception-破例的意思
our case - 指事、交易、案例
org.springframework.beans.factory.BeanCreationException:Erro
org.springframework.beans.factory.BeanCreationException:Error creating bean with name 'tgMailSender' defined in ServletContext resource [/WEB-INF/datasource.xml]:Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException:Failed to convert property value of type [javax.mail.Session] to required type [javax.mail.Session] for property 'session'; nested exception is java.lang.IllegalArgumentException:Cannot convert value of type [javax.mail.Session] to required type [javax.mail.Session] for property 'session':no matching editors or conversion strategy found
配置邮件时出现以上错误,都是javax.mail.Session为什么没法转换,
全球英语8611年前1
wusula 共回答了15个问题 | 采纳率73.3%
是不是有两个版本的.jar在里面.
英语翻译我两个iPhone里的随身译不能翻译了、任何语言都不行、怎么回事?、出现ArgumentException:Th
英语翻译
我两个iPhone里的随身译不能翻译了、任何语言都不行、怎么回事?、出现ArgumentException:The Web Token must have a signature at the end.The incoming token did not have a signature at the end of the token.:ID=3743.V2_Json.Translate.4110FD0E情况、怎么办?、
rudy021年前1
单身逍遥 共回答了11个问题 | 采纳率72.7%
你用的应该是盗版吧,设备被封了
地税E税通用不了,登陆时显示An unhandled exception has occurred in a compo
地税E税通用不了,登陆时显示An unhandled exception has occurred in a component in you application…
An unhandled exception has occurred in a component in you application.Click continue and application will ignore this error and attempt to continue.
the .Net Data OLE DB Provider(Systm.Data.OleDb)requires Microsoft Data Access Components (MDAC) version 2.6 or later.Vrtdion 2.52 6019.0 was found currently installed.
貌似是什么东西的版本要2.6或以后的版本才行,而本机的只有2.52版本.而到底要升级什么东西,我看不明白.
因为这问题我是上网重新下过E税通的,还是不行.
求高手帮忙,谢谢
aa壳1年前1
地23会有 共回答了17个问题 | 采纳率94.1%
你的access数据无法访问数据访问组件MDAC版本过低 可以下一个2.6以上的装好就可以了
javax.servlet.jsp.jspexception无法解析为此类型
javax.servlet.jsp.jspexception无法解析为此类型
这是什么问题
servlet包也倒入



x05x05x05x05x05首页
x05x05x05x05x05
x05x05x05x05x05x05上一页 这边有错误
x05x05x05x05x05

x05x05x05x05x05x05x05x05x05x05x05end="${(page.curPage<=(page.totalPage-9))?(page.curPage+9):page.totalPage}"
x05x05x05x05x05x05var="p">
x05x05x05x05x05x05${p }
x05x05x05x05x05
x05x05x05x05x05
x05x05x05x05x05x05下一页
x05x05x05x05x05

x05x05x05x05x05
x05x05x05x05x05x05尾页
x05x05x05x05x05

x05x05x05x05x05
x05x05x05x05x05x05
${msg }
x05x05x05x05x05

x05x05x05x05

这是部分代码
nznf20071年前1
332928690 共回答了15个问题 | 采纳率80%
${page.curPage-1} 无法解析
因为你对变量名做计算,会造成数据无法读取.建议换成${page.curPage}-1
后面数据提取都有类似问题
i have no exception the evening with them.到底是to spending还是sp
i have no exception the evening with them.到底是to spending还是spending
速记高手1年前2
海的人 共回答了23个问题 | 采纳率87%
来回答的好晚呀~不过得到老美语法砖家给出的官方答案了:
1.美国人都认为exception用的不对,他们会用objection或者更口语一点的don't mind
2.如果就按照exception说,就选to spending,原因是这里to是介词,后面接名词或名词性的词语,不是表示动词不定式的to do结构,相反,to是和前面的exception/objection组成短语object to,如我不反对你的意见:I have no objection to your opinion.to后面跟名词.
结论:地道的用发是:
1.I don't mind spending the evening with them.或
2.I have no objection to spending the evening with them.
java发送邮件时遇到异常:java.lang.SecurityException:Access to default
java发送邮件时遇到异常:java.lang.SecurityException:Access to default session denied
在自己的机器weblogic上部署能够发送,但是部署到集群后发送邮件时会报该异常
发送邮件时报错!
java.lang.SecurityException:Access to default session denied
at javax.mail.Session.getDefaultInstance(Session.java:321)
at com.geostar.util.mail.SimpleMailSender.sendHtmlMail(SimpleMailSender.java:75)
at com.geostar.geoglobe.usercenter.action.userinfo_tb.Userinfo_tbAction.sendMail(Userinfo_tbAction.java:342)
at com.geostar.geoglobe.usercenter.action.userinfo_tb.Userinfo_tbAction.saveUser_name(Userinfo_tbAction.java:271)
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)
...
xdy2131年前1
一条响尾蛇 共回答了19个问题 | 采纳率89.5%
Session.getDefaultInstance()是获得一个默认的共享session,而创建一个session可以使用Session.getInstance().
所以将程序改写成这样就OK了.
Properties props = System.getProperties();
props.put("mail.host",Globals.MAIL_SERVER);
props.put("mail.smtp.auth","true");
Session session1 = Session.getInstance(props,new Authenticator(){
protected PasswordAuthentication getPasswordAuthentication() {
return new PasswordAuthentication(Globals.MAIL_USERNAME,Globals.MAIL_PASSWORD);
}});
org.hibernate.QueryException:could not resolve property
org.hibernate.QueryException:could not resolve property
could not resolve property:customers of:com.betex.crm.sysmanage.domain.User [ select u from com.betex.crm.sysmanage.domain.User u left outer join u.customers as customer where customer.id=?]
这个出错是什么原因
wanghuaa1年前1
拈花微笑的妞妞 共回答了17个问题 | 采纳率82.4%
你查询的时候有个属性customers跟表里的字段不符合,没有完全匹配上.
javax.mail.MessagingException:553 authentication is required
javax.mail.MessagingException:553 authentication is required,smtp2,DNGowLBbuQPU2mFIeZiQBw==.59922S2 1214372564 什么毛病?
我程序代码:
DataInputStream dis = new DataInputStream(request.getInputStream()) ;
String send = dis.readUTF() ;
String subject = dis.readUTF();
String content = dis.readUTF() ;
System.out.println(send+" -- "+subject+" -- "+content);
try {
Properties props = System.getProperties() ;
props.put("mail.smtp.host",host);
Session session = Session.getDefaultInstance(props,new MyAuthenticator()) ;
MimeMessage message = new MimeMessage(session) ;
message.setFrom(new InternetAddress(from)) ;
message.addRecipient(Message.RecipientType.TO,new
InternetAddress(send));
message.setSubject(subject) ;
message.setText(content) ;
Store store = session.getStore("pop3") ;
store.connect("pop3.163.com","****","****");
Transport.send(message) ;
} catch (Exception e) {
e.printStackTrace();
} finally{
dis.close() ;
}
懒得落花1年前1
jie303030 共回答了9个问题 | 采纳率100%
这是javamail的验证方法中的一种改写Authenticator的getPasswordAuthentication()方法private class Authenticator extends javax.mail.Authenticator{public PasswordAuthentication getPasswordAuthentication(){S...
英语翻译outsize presence帮忙翻译下吧~词组在句子中是这样的:with the exception of
英语翻译
outsize presence帮忙翻译下吧~
词组在句子中是这样的:with the exception of a few celebrities like Oprah Winfrey --whose outsize presence is primarily a function of media,not interpersonal,influence.
staudach1年前1
SKYNET_TT 共回答了24个问题 | 采纳率87.5%
除了少数的名流如奥普拉•温弗瑞,主要是媒体功能存在着,而不是人际关系、和外界影响
org.hibernate.hql.ast.QuerySyntaxException:unexpected token错
org.hibernate.hql.ast.QuerySyntaxException:unexpected token错误
public Aadmin quaryUserNames(String name) {
String sql = "select * from Eadmin a where a.Aname = ";
Query query = sessionFactory.getCurrentSession().createQuery(sql);
query.setString(0,name);
Aadmin a = (Aadmin)query.uniqueResult();
return a;
}
提示错误:org.hibernate.hql.ast.QuerySyntaxException:unexpected token:* near line 1,column 8 [select * from Eadmin a where a.Aname = ]
但上面的sql语句直接拿到数据库(oracle)中是对的,问怎么改
男色天使1年前1
美麗蝴蝶飛 共回答了15个问题 | 采纳率80%
String sql = "select * from Eadmin a where a.Aname = ";
Query query = sessionFactory.getCurrentSession().createQuery(sql);
query.setString(0,name);
sql = "select * from Eadmin a where a.Aname = "; 你这句话是标准的sql语句,但是你在这里sessionFactory.getCurrentSession().createQuery(sql);开启的是hibernate的面向对象的语句所以不可以,你改成sessionFactory.getCurrentSession().createSQL(sql);就可以了
With the exception of emergency stop
With the exception of emergency stop
是除了急停,还是除急停之外?
我的意思是,是在急停的情况下如何如何,还是在急停之外的情况下如何如何
jun阳光明媚1年前2
hbxiao 共回答了19个问题 | 采纳率89.5%
你说的是一个概念,哪个都是可以的.
根据你的补充我可以很肯定的说是在“急停以外的情况如何如何”,因为with...前面一定是一个完整的句子,表达了急停之外的情况如何如何.而with...则有点类似插入语,它做状语.
高一英语翻译无论是谁违反法律都将受到法律的惩罚,无一例外.用exception
xiaonizi00321年前6
再现米雪儿 共回答了20个问题 | 采纳率85%
None of persons who had contravened the law should be dealt with according to law.
或者
Whoever had contravened the law should be dealt with according to law,without exception.
“将”应理解为“should(应该)”!
现实中,违反了法律的,也并非都受到了法律的惩罚,的确有例外.所以,不要用will.!
有谁知道这句是什么意思:Exception EinoutError in moduie ReadData.dll at
有谁知道这句是什么意思:Exception EinoutError in moduie ReadData.dll at 00067942.
这是发电站里,打开自动化监控系统时出现一句话,
乐乐wu1年前1
美丽都停驻 共回答了23个问题 | 采纳率82.6%
Exception In/Out Error in module ReadData.dll at 00067942. 在模块Read Data.dll 00067942 ,发生异常输入/输出错误. (Einout 估计是 In/Out 输入输出, 模块Module,ReadData.dll at 00067942 这一段太专业了,我一点都不明白 ^_^ )
记得采纳啊
java.lang.Exception, java.lang.RuntimeException, java.lang.E
java.lang.Exception, java.lang.RuntimeException, java.lang.Error的区别
seikoboy1年前1
zhengzsz 共回答了19个问题 | 采纳率89.5%
java.lang.Exception, java.lang.RuntimeException,这两个是异常,前面一个包含了所有的异常,后面一个是特定的异常.
java.lang.Error这个是错误
All of these letters and telegrams,almost without exception,
All of these letters and telegrams,almost without exception,urge that the cause we have been fighting for___ A.be carried on B.being carried on C.carrying on D.to carry on 选哪个,为什么?
796910901年前2
dragon584 共回答了18个问题 | 采纳率88.9%
All of these letters and telegrams,almost without exception,urge that the cause we have been fighting for___ A.be carried on B.being carried on C.carrying on D.to carry on
答案:A be carried on
all urge that.
主语 谓语 宾语从句.
the cause should be carried on.表命令请求建议的宾语从句里用should do,但是should 可以省略
we have been fighting for the cause.是定语从句 引导词that被省略
英语翻译500 Servlet Exceptionjava.lang.NumberFormatException:For
英语翻译
500 Servlet Exception
java.lang.NumberFormatException:For input string:".20077E4.20077E4"
at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1224)
at java.lang.Double.parseDouble(Double.java:482)
at java.text.DigitList.getDouble(DigitList.java:141)
at java.text.DecimalFormat.parse(DecimalFormat.java:1276)
at java.text.SimpleDateFormat.subParse(SimpleDateFormat.java:1375)
at java.text.SimpleDateFormat.parse(SimpleDateFormat.java:1124)
at java.text.DateFormat.parse(DateFormat.java:333)
at org.mycommon.util.Util.strtodatetime(Util.java:515)
at org.mysso.client.imp.SocketSSOClient.PropertiesToUser(SocketSSOClient.java:398)
at org.mysso.client.imp.SocketSSOClient.find(SocketSSOClient.java:435)
at com.marryfive.common.helper.SSOHelper.hasSignOned(SSOHelper.java:131)
at com.marryfive.common.filter.SSOFilter.doFilter(SSOFilter.java:88)
at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:178)
at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229)
at com.caucho.server.hmux.HmuxRequest.handleRequest(HmuxRequest.java:419)
at com.caucho.server.port.TcpConnection.run(TcpConnection.java:389)
at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:507)
at com.caucho.util.ThreadPool.run(ThreadPool.java:433)
at java.lang.Thread.run(Thread.java:595)
--------------------------------------------------------------------------------
Resin-3.0.19 (built Mon,15 May 2006 04:50:47 PDT)
aronglai1年前1
wwxf 共回答了24个问题 | 采纳率75%
你这个好像是java程序的log,没有实质意义,一般不作翻译解释,只有操作意义
英语翻译led to a runtime error.The reason for this exception is:
英语翻译
led to a runtime error.The reason for this exception is:
In the current program "ZPPRP115ZJ_TEST",an arithmetic operation ('DIVIDE',
'/','DIV',or 'MOD') with a type P operand attempted to divide
by 0.
漪然27641年前1
bskwgj 共回答了20个问题 | 采纳率90%
导致运行错误.出现这种异常情况的原因是:在现行程序“ZPPRP115ZJ_TEST ”中,一个算数运算(“除”,“等分”,或者“取余数”)里面的P这个运算对象,试图被0整除.
org.hibernate.hql.ast.QuerySyntaxException: expecting OPEN,
org.hibernate.hql.ast.QuerySyntaxException: expecting OPEN, found '>' near line 1, column 38 [from com.sqlt.model.Topic where count>30 and subjectid=4]
at org.hibernate.hql.ast.QuerySyntaxException.convert(QuerySyntaxException.java:31)
at org.hibernate.hql.ast.QuerySyntaxException.convert(QuerySyntaxException.java:24)
at org.hibernate.hql.ast.ErrorCounter.throwQueryException(ErrorCounter.java:59)
at org.hibernate.hql.ast.QueryTranslatorImpl.parse(QueryTranslatorImpl.java:258)
at org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:157)
at org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:111)
at org.hibernate.engine.query.HQLQueryPlan.(HQLQueryPlan.java:77)
at org.hibernate.engine.query.HQLQueryPlan.(HQLQueryPlan.java:56)
at org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:72)
at org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:133)
at org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:112)
at org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:1623)
at com.sqlt.dao.daoImp.TopicDAOImp.findTopicByFour(TopicDAOImp.java:127)
at com.sqlt.action.LoginAction.selectLiuyanInfoView(LoginAction.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:404)
at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:267)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:229)
at com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:221)
at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:150)
at org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:48)
at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
paint1年前1
肉肉和球球 共回答了18个问题 | 采纳率88.9%
好好检查HQL语句,语法错误
PHP报错:Fatal error:Uncaught exception 'com_exception' with me
PHP报错:Fatal error:Uncaught exception 'com_exception' with message
Fatal error:Uncaught exception 'com_exception' with message 'Source:ADODB.Recordset
Description:参数类型不正确,或不在可以接受的范围之内,或与其他参数冲突.' in C:AppServwwwadminadd_user.php:66 Stack trace:#0 C:AppServwwwadminadd_user.php(66):com->open(Resource id #5,NULL,3,1) #1 {main} thrown in
大批皮1年前1
barbecuesky 共回答了18个问题 | 采纳率72.2%
.PHP很少用ADODB了.
高一英语翻译在线等!无一例外,每个运动员第一次尝试都失败了(exception,attempt)
7777ty1年前1
xiejiaoj 共回答了16个问题 | 采纳率100%
Without exception,every player‘s first attempt failed
存储过程 raise什么意思EXCEPTION when others then rollback; dbms_outp
存储过程 raise什么意思
EXCEPTION
when others then
rollback;
dbms_output.put_line('code:' || sqlcode);
dbms_output.put_line('errm:' || sqlerrm);
raise;
when others then和raise;
分别是什么意思
niccola1年前1
早知秋 共回答了26个问题 | 采纳率92.3%
异常分很多种类,如NO_FOUND.others处本应该写异常名称,如果不想把异常分得那麼细,可以笼统一点用others来捕获,即所有异常均用others来捕获.
when others then表示是其它异常.
raise表示抛出异常,让User可以看到.
With the exception of one trio and three dual offenders是什么意思
With the exception of one trio and three dual offenders是什么意思?
如题
alun31年前1
hugang_1211 共回答了16个问题 | 采纳率87.5%
意思是:除了一个三重犯(三次犯罪的人)和三个二重犯……
trio三次,dual双次,offenders罪犯
java.lang.IllegalArgumentException是什么意思
阿口木1年前1
fengjinghui 共回答了22个问题 | 采纳率90.9%
我觉得是tomcat中配置出了错误,譬如你建立了一个项目,在tomcat中进行了配置,
后来把这项目删了,而没改动配置,则会报此错误!
个人意见,仅供参考!
谁能给我翻译一下这是什么意思?application has generated an exception that c
谁能给我翻译一下这是什么意思?
application has generated an exception that could not be handled
click ok to terminate the application
click cancel to debug the application
娃哈哈n6511年前1
加菲猫- 共回答了19个问题 | 采纳率89.5%
程序产生了一个不可控制的异常错误.
按 OK 终止程序.
按 cancel 调试程序.
OK吧
java.lang.NullPointerException at dao.booDAO.addbook(booDAO.
java.lang.NullPointerException at dao.booDAO.addbook(booDAO.java:23) at org.apache.jsp.addbookok_js
边走边照1年前1
Limitations 共回答了23个问题 | 采纳率82.6%
空指针异常:
在dao包下booDAO类的addbook()方法中.
你可能声明某变量,但未赋值,或者赋了空值.
从你这方法名看,应该是往数据库中插值.
你先检查book对象中的值是否存在!
Caused by:java.lang.IllegalArgumentException:No positional p
Caused by:java.lang.IllegalArgumentException:No positional parameters in query:
select sum(case when t.expenseDeatailLine.financeauditmoney>0 then t.expenseDeatailLine.financeauditmoney eles t.expenseDeatailLine.reimbursementamount end ) from TravelExpenseVVO t where 1=1 and t.status=3 and t.department = 'BFPID0000000OH0029' and t.projectcode = 'D300/PT3001/移动互联' and t.expenseDeatailLine.reimburseproject = 'BFPID0000000PM0006'
大红帽8881年前1
土土2004 共回答了22个问题 | 采纳率81.8%
这个应该是查询语句写错了.找不到查询位置了.
org.hibernate.hql.ast.QuerySyntaxException:, found '>' near
org.hibernate.hql.ast.QuerySyntaxException:, found '>' near line 1, column 39
org.hibernate.hql.ast.QuerySyntaxException: expecting OPEN, found '>' near line 1, column 39 [from com.sqlt.model.Topic where count > 30 and subjectid=4 order by id]
at org.hibernate.hql.ast.QuerySyntaxException.convert(QuerySyntaxException.java:31)
at org.hibernate.hql.ast.QuerySyntaxException.convert(QuerySyntaxException.java:24)
at org.hibernate.hql.ast.ErrorCounter.throwQueryException(ErrorCounter.java:59)
at org.hibernate.hql.ast.QueryTranslatorImpl.parse(QueryTranslatorImpl.java:258)
at org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:157)
at org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:111)
at org.hibernate.engine.query.HQLQueryPlan.(HQLQueryPlan.java:77)
at org.hibernate.engine.query.HQLQueryPlan.(HQLQueryPlan.java:56)
at org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:72)
at org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:133)
at org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:112)
at org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:1623)
at com.sqlt.dao.daoImp.TopicDAOImp.findTopicByFour(TopicDAOImp.java:127)
at com.sqlt.action.LoginAction.selectLiuyanInfoView(LoginAction.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:404)
at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:267)
我的Dao类中的部分代码如下:public List findTopicByTwentyOne()
{
session=HibernateSessionFactory.getSession();
try{

ts=session.beginTransaction();
Query query=session.createQuery("from Topic where count>30 and subjectid=21 order by id");
List list=query.list();
ts.commit();
return list;

}catch(Exception e)
{
e.printStackTrace();
return null;
}
}
鸡落李维hh1年前1
xiaoling6070 共回答了19个问题 | 采纳率94.7%
你先试试你的hql有没有问题,你这样弄会很麻烦的,首先你得确定你的hql没问题才行.你的myeclipse里面有个hql 编辑工具 ,你输入你的hql查询下.
java.text.ParseException:Unparseable date:"201104132200"
java.text.ParseException:Unparseable date:"201104132200"
at java.text.DateFormat.parse(DateFormat.java:337)
at org.apache.jsp.manager.new1001.g1001insert_jsp._jspService(g1001insert_jsp.java:382)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
源码
java.util.Date operdtime = sfarmat.parse(delaytime);
operstime = new java.sql.Timestamp(operdtime.getTime());
我用
java.util.Date operdtime = sfarmat.parse(delaytime.toString);没用
没什么分了希望大家能帮忙下
java.util.Date now =new java.util.Date();
java.text.SimpleDateFormat sfarmat = new java.text.SimpleDateFormat("yyyyMMddHHmmss");
String strDateTime=sfarmat.format(now);
一宵残梦1年前1
北极雪人 共回答了13个问题 | 采纳率76.9%
老兄 这个是你大意了吧
SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmss");这里的格式是
4位年 2位月 2位日 2位时 2位分 2位秒 共14位
但是你传入的字符串 只有12位 转换就出错了201104132200变成20110413220000就对了
输入的字符串要和你想要的格式长度神马的都一样才行
SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmss");
try {
Date date = sdf.parse("20110413111100");
String s = sdf.format(date);
System.out.println(s);
} catch (ParseException e) {
e.printStackTrace();
}
结果:20110413111100
java.lang.NoSuchMethodException:No Such Method:Supplyfundget
java.lang.NoSuchMethodException:No Such Method:SupplyfundgetModelTypeCN
x05at com.gpcsoft.core.utils.BeanUtils.invokePrivateMethod(BeanUtils.java:133)
x05at com.gpcsoft.core.utils.HqlResultConvertUtils.hqlResultConvert(HqlResultConvertUtils.java:79)
x05at com.gpcsoft.core.web.controller.AnnotationMultiController.onList(AnnotationMultiController.java:212)
x05at com.gpcsoft.core.web.controller.AnnotationMultiController.list(AnnotationMultiController.java:188)
x05at sun.reflect.GeneratedMethodAccessor134.invoke(Unknown Source)
x05at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
x05at java.lang.reflect.Method.invoke(Method.java:585)
泽2大蜜泛儿1年前1
jianjianct 共回答了11个问题 | 采纳率100%
你用的是反射调用方法,意思是你调用的方法不存在,SupplyfundgetModelTypeCN,看方法名是不是拼错了,注意大小写.
java.lang.ClassCastException: java.lang.String cannot be cas
java.lang.ClassCastException: java.lang.String cannot be cast to java.util.List,求大神解答.
at org.apache.jsp.pageCode.userManage.order_005fin_jsp._jspService(order_005fin_jsp.java:122)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
at org.apache.struts2.dispatcher.ServletDispatcherResult.doExecute(ServletDispatcherResult.java:159)
at org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResultSupport.java:186)
at com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:373)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:277)
at com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:176)
at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:263)
at org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68)
at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
at com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:133)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
kuang38481年前1
pppfff503 共回答了15个问题 | 采纳率100%
你在JSP上面的代码出错了,把String强制转换成了List.
Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexO
Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException:2
at org.jcjava.dwindow.Dwindow.actionPerformed(Dwindow.java:46)
at java.awt.TextField.processActionEvent(Unknown Source)
at java.awt.TextField.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
丘水文1年前3
lspai 共回答了28个问题 | 采纳率96.4%
数组越界了,你的使用了不可用的索引:
比如:
int[] a = new int[3];
a[3] = 1;
这个就是错了,因为a[3]不存在
你看看你声明的组件的数组是不是也出现了这个情况,比如把
JTextField放在一个数组里,然后越界
数据转换错误java.lang.numberformatexception null java.lang.integer
数据转换错误java.lang.numberformatexception null java.lang.integer.parseint integer.java
org.apache.jasper.JasperException:An exception occurred processing JSP page /reply.jsp at line 6
3:
4:
8:
9:
Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:515)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:426)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
root cause
java.lang.NumberFormatException:null
java.lang.Integer.parseInt(Integer.java:415)
java.lang.Integer.parseInt(Integer.java:497)
org.apache.jsp.reply_jsp._jspService(reply_jsp.java:57)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:384)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.10 logs.
cc的海豚1年前1
豆子亲王 共回答了14个问题 | 采纳率64.3%
错误出现原因:数字格式化异常,如果id、rootId 是null,你的代码是要把null转换成int类型,就会出错,可以修改代码如下:
int id = 0;
int rootId = 0;
if(request.getParameter("id") != null && !"".equals(request.getParameter("id"))) {
id = Integer.parseInt(request.getParameter("id"));
}
if(request.getParameter("rootId") != null && !"".equals(request.getParameter("rootId"))) {
rootId = Integer.parseInt(request.getParameter("rootId"));
}
No child wants to be an exception in an age of conformity an
No child wants to be an exception in an age of conformity and admit not having seen what everybody else has.
这句中的admit not having seen是什么结构呀?
admit +doing是固定搭配吧?
abel83021年前1
青隼翔峰 共回答了20个问题 | 采纳率85%
嗯 admit doing sth 是固定结构,意为承认做了某事.
否定形式为 admit not doing sth.
此句中的 admit not having seen 是admit not doing sth 和 have done sth (现在完成时)的合并.意为 "认没有见过."
java.lang.NullPointerException www.goods.sech(goods.java:26)
java.lang.NullPointerException www.goods.sech(goods.java:26) org.apache.jsp.Success_jsp._jspService
public goods sech(){
goods goods=null;
con=conn.getcon();
try {
String sql2 ="select * from wareTable where wareName='yyyyyy'";
pt = con.prepareStatement(sql2);
rs = pt.executeQuery();
while (rs.next()) {
goods.setWareName(rs.getString(1));
goods.setWareSort(rs.getInt(2));
goods.setWareAmount(rs.getInt(3));
}这里是第26行,头痛的就是这里,
}
catch (SQLException ex) {
ex.printStackTrace();
System.out.println("查询失败!");
}finally{
conn.closeset(rs);
conn.closestate(pt);
conn.closeCon(con);
}
return goods;
}
前面是指针异常错误的事件,但不知道那里错了,
java.lang.NullPointerException
www.goods.sech(goods.java:26)
org.apache.jsp.Success_jsp._jspService(Success_jsp.java:58)
红土村1年前1
rx408 共回答了16个问题 | 采纳率100%
在while(rs.next()){
goods = new Goods();
}
out of exception什么意思
烟与酒的ii1年前2
awawazaza 共回答了19个问题 | 采纳率84.2%
超出预期
out of expection
英语翻译Ancient-law got along,I was an exception?In my heart so
英语翻译
Ancient-law got along,I was an exception?In my heart so one thing I can not forgive in this life and understanding her,really good sad.Pressure,I can not breathe,my husband was the most uncomfortable in the middle,both of said than done
书情阁主人1年前3
藏青朱槿 共回答了21个问题 | 采纳率95.2%
老办法已经无法行得通,我是一个例外?在我心里,这一生都无法原谅她并且了解她. 真的难过了.压力,让我无法呼吸,我丈夫夹在中间非常难过,both of said than done (后面还有话吧?)
题外话:好像是,婆媳之间的矛盾~
英语:为什么这句话中exception和rule不用复数?
英语:为什么这句话中exception和rule不用复数?
The truth is that the real successful transformations are the exception rather than the rule.
事实上,真正转型成功只是特例
Josher_zhu1年前2
ltcdd 共回答了26个问题 | 采纳率84.6%
一个是因为这是个约定俗成的表达方式
the exception and the rule
而且这里exception和rule都说抽象的概念,只是表示“特例”和“常规”这两个抽象概念,而抽象概念不能用复数
With the exception of one trio and three dual offenders是什么意思
With the exception of one trio and three dual offenders是什么意思?
heartfailure1年前1
fzbh6 共回答了21个问题 | 采纳率100%
差了一下全文,是法律方面的内容.
翻译:除了一个三人团伙和三个两人团伙罪犯之外
java.lang.InstantiationException是什么意思
kusami1年前1
minbiao 共回答了29个问题 | 采纳率93.1%
java.lang.InstantiationException
实例化异常.当试图通过newInstance()方法创建某个类的实例,而该类是一个抽象类或接口时,抛出该异常.
英语翻译EXCEPTION:DEFAULT SYSTEM ROUTE RECORD NOT FOUND :PLEASE
英语翻译
EXCEPTION:DEFAULT SYSTEM ROUTE RECORD NOT FOUND
:PLEASE CONTACT SITA HELPDESK
:EMAIL FARES.HELPDESK@SITA.AERO
魅之妖妖1年前2
juzigx 共回答了31个问题 | 采纳率96.8%
异常:默认系统线路记录不能找到
请与SITA帮助台联系
电子邮件费用:HELPDESK@SITA.AERO
java.net.connectexception connection refused java.net.Connec
java.net.connectexception connection refused java.net.ConnectException:
java.net.ConnectException:Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:525)
at java.net.Socket.connect(Socket.java:475)
at java.net.Socket.(Socket.java:372)
at java.net.Socket.(Socket.java:186)
at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:424)
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.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:338)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:416)
clujiju1年前1
BlueArthur 共回答了26个问题 | 采纳率73.1%
数据库被拒绝访问.你看看你的数据库服务有没有开.
"婚姻也不例外"用英语怎么说?能说marriage is no exception么?觉得有点别扭I always be
"婚姻也不例外"用英语怎么说?
能说marriage is no exception么?觉得有点别扭
I always believe that human beings are selfish animals.They do certain things only when they believe that they can be benefited.And marriage is no exception.这个是原句,大家看看行不行。)
羽儿菲菲1年前6
pigironer 共回答了21个问题 | 采纳率95.2%
And marriage is no exception 不错
And there is no exception on marriage 好些
including marriage 也可以
exception的adj、conj、prep分别是什么?
exception的adj、conj、prep分别是什么?
如题
心有千千结1年前1
东方求败WIN 共回答了19个问题 | 采纳率94.7%
except :conj,prep 连词介词同形
exceptional:adj
exception can be found to any rule.中的any rule在句中充当什么成分?
冰川柠檬1年前2
amrican 共回答了12个问题 | 采纳率83.3%
翻译:exception can be found to any rule---任何规则都有例外.
解析:to在这里是介词,意思是对于.把to也翻译出来,这个句子就是:对于任何一个规则,例外总是被发现.既然它在这里是介词,那么后面的any rule就是宾语.介宾介宾就是这个说法.
so in the broadest sense和with some exception,这两句话是什么意思啊?
qyan881年前2
tianya-cn 共回答了22个问题 | 采纳率81.8%
因此,从最广泛的意义上说
含有(包含)特例
org.hibernate.hql.ast.QuerySyntaxException求高人指教
org.hibernate.hql.ast.QuerySyntaxException求高人指教
我执行了一条SQL
select po from com.forgon.cs.onlinepreparation.question.model.Question as po where difficultyValue = '' and typeForDisplay = '' order by dbms_random.value
然后hibernate内就抛出了异常
org.hibernate.hql.ast.QuerySyntaxException: Invalid path: 'dbms_random.value' [
应该是hibernate把dbms_random.value当成了这个表的属性所以报错,不知道有没人知道怎样做可以不用去遍历resultset而直接得到绑定到对象里的结果
helen_pk1年前1
风吹JJ毛不乱 共回答了16个问题 | 采纳率81.3%
既然你用的是HQL查询的话,那就不能用ORACLE的函数“ dbms_random.value”进行随机排序啊;个人觉得,你要实现随机排序的功能的话,不如就换成SQL查询,感觉还要方便些;