启动django 一直报错,HTTP 500,找了好久没找到解决的方法

System check identified no issues (0 silenced).
May 17, 2017 - 09:19:52
Django version 1.7.11, using settings 'MiguAuto.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CTRL-BREAK.
Traceback (most recent call last):
File "C:\Python27\lib\wsgiref\handlers.py", line 85, in run
self.result = application(self.environ, self.start_response)
File "C:\Python27\lib\site-packages\django-1.7.11-py2.7.egg\django\core\handle
rs\wsgi.py", line 168, in call
self.load_middleware()
File "C:\Python27\lib\site-packages\django-1.7.11-py2.7.egg\django\core\handle
rs\base.py", line 44, in load_middleware
mw_class = import_string(middleware_path)
File "C:\Python27\lib\site-packages\django-1.7.11-py2.7.egg\django\utils\modul
e_loading.py", line 26, in import_string
module = import_module(module_path)
File "C:\Python27\lib\importlib__init__.py", line 37, in import_module
import(name)
ImportError: No module named security
[17/May/2017 09:20:03] "GET / HTTP/1.1" 500 59

4个回答

ImportError: No module named security

---- 这个模块你有没有安装好

shahaoze
我行我su security 这个怎么安装,没找到对应安装的文件和方法
2 年多之前 回复

500服务器错误,如果代码里面没有报错,那应该是模块没有安装好ImportError: No module named security

shahaoze
我行我su security 这个怎么安装,没找到对应安装的文件和方法
2 年多之前 回复

security 这个怎么安装,没找到对应安装的文件和方法

报错图片说明

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
行转列(找了好久没找到结果)
有表如下:rnrnID Amount StylernA1 500 重不良rnA1 300 中不良rnA1 150 轻不良rnB1 300 重不良rnB1 200 轻不良rnB2 120 轻不良rnrn转换后:rnrnID 重不良 中不良 轻不良rnA1 500 300 150rnB1 300 - 200rnB2 - - 120rnrnrn测试表:rnrncreate table test([id] varchar(4), amount int, style varchar(6))rnrninsert into test values('A1',500,'重不良')rninsert into test values('A1',300,'中不良')rninsert into test values('A1',150,'轻不良')rninsert into test values('B1',300,'重不良')rninsert into test values('B1',200,'轻不良')rninsert into test values('B2',120,'轻不良')rnrndrop table testrnrn帮忙!!谢谢
太有挑战性了,找了好久没找到。
要实现:rn 通过vb6,实现从FTP上下载,不在本地产生文件,只是得到FTP服务器上这个文件的二进制数据,比如存放在byte()数组,或者存在buffer中。rnrnrn给个思路就给分了,最后有例子。下午下班前揭帖。
spring 异常 找了好久没找到
错误在最后一行 程序一提交 action 就出错了rnrn15:58:39,875 INFO [HbmBinder] Mapping class: cn.dareway.vote.model.VoteItem ->rnVOTE_ITEMrn15:58:40,171 INFO [HbmBinder] Mapping class: cn.dareway.vote.model.VoteText ->rnVOTE_TEXTrn15:58:40,187 INFO [LocalSessionFactoryBean] Building new Hibernate SessionFactornryrn15:58:40,187 INFO [HbmBinder] Mapping collection: cn.dareway.vote.model.Vote.vornteTexts -> VOTE_TEXTrn15:58:40,187 INFO [HbmBinder] Mapping collection: cn.dareway.vote.model.Vote.vornteItems -> VOTE_ITEMrn15:58:40,203 INFO [ConnectionProviderFactory] Initializing connection provider:rn org.springframework.orm.hibernate3.LocalDataSourceConnectionProviderrn15:58:41,406 INFO [SettingsFactory] RDBMS: Oracle, version: Oracle9i Enterprisern Edition Release 9.2.0.1.0 - ProductionrnWith the Partitioning, OLAP and Oracle Data Mining optionsrnJServer Release 9.2.0.1.0 - Productionrn15:58:41,406 INFO [SettingsFactory] JDBC driver: Oracle JDBC driver, version: 9rn.2.0.1.0rn15:58:41,453 INFO [Dialect] Using dialect: org.hibernate.dialect.Oracle9Dialectrnrn15:58:41,484 INFO [TransactionFactoryFactory] Using default transaction strategrny (direct JDBC transactions)rn15:58:41,484 INFO [TransactionManagerLookupFactory] No TransactionManagerLookuprn configured (in JTA environment, use of read-write or transactional second-levelrn cache is not recommended)rn15:58:41,484 INFO [SettingsFactory] Automatic flush during beforeCompletion():rndisabledrn15:58:41,500 INFO [SettingsFactory] Automatic session close at end of transactirnon: disabledrn15:58:41,500 INFO [SettingsFactory] JDBC batch size: 15rn15:58:41,500 INFO [SettingsFactory] JDBC batch updates for versioned data: disarnbledrn15:58:41,500 INFO [SettingsFactory] Scrollable result sets: enabledrn15:58:41,500 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): disabledrn15:58:41,500 INFO [SettingsFactory] Connection release mode: on_closern15:58:41,500 INFO [SettingsFactory] Default batch fetch size: 1rn15:58:41,515 INFO [SettingsFactory] Generate SQL with comments: disabledrn15:58:41,515 INFO [SettingsFactory] Order SQL updates by primary key: disabledrn15:58:41,515 INFO [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTrnQueryTranslatorFactoryrn15:58:41,515 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactoryrn15:58:41,515 INFO [SettingsFactory] Query language substitutions: rn15:58:41,515 INFO [SettingsFactory] Second-level cache: enabledrn15:58:41,531 INFO [SettingsFactory] Query cache: disabledrn15:58:41,531 INFO [SettingsFactory] Cache provider: org.hibernate.cache.EhCachernProviderrn15:58:41,546 INFO [SettingsFactory] Optimize cache for minimal puts: disabledrn15:58:41,546 INFO [SettingsFactory] Structured second-level cache entries: disarnbledrn15:58:41,562 INFO [SettingsFactory] Echoing all SQL to stdoutrn15:58:41,562 INFO [SettingsFactory] Statistics: disabledrn15:58:41,562 INFO [SettingsFactory] Deleted entity synthetic identifier rollbacrnk: disabledrn15:58:41,562 INFO [SettingsFactory] Default entity-mode: pojorn15:58:41,656 INFO [SessionFactoryImpl] building session factoryrn15:58:41,687 WARN [Configurator] No configuration found. Configuring ehcache frrnom ehcache-failsafe.xml found in the classpath: file:/D:/workGram/jakarta-tomcatrn-5.0.24/work/Catalina/localhost/vote/loader/ehcache-failsafe.xmlrn15:58:43,171 INFO [SessionFactoryObjectFactory] Not binding factory to JNDI, norn JNDI name configuredrn15:58:43,343 INFO [HibernateTransactionManager] Using DataSource [org.apache.cornmmons.dbcp.BasicDataSource@ef9d00] of Hibernate SessionFactory for HibernateTranrnsactionManagerrn15:58:43,390 INFO [DefaultAopProxyFactory] CGLIB2 available: proxyTargetClass frneature enabledrn15:58:43,687 INFO [ContextLoaderPlugIn] Using context class 'org.springframeworrnk.web.context.support.XmlWebApplicationContext' for servlet 'action'rn15:58:43,687 INFO [ContextLoaderPlugIn] ContextLoaderPlugIn for Struts ActionSernrvlet 'action', module '': initialization completed in 6375 msrn15:59:11,625 WARN [RequestProcessor] Unhandled Exception thrown: class org.sprirnngframework.beans.factory.NoSuchBeanDefinitionExceptionrn
哪里有下vc++6。0的,找了好久没找到
如题
HTTP Status 500 报错
昨天从书上抄了个JSP文件,昨天调试还没有问题。今天就一直报这个错误。。。查了下把 el-ri.jar jsp-api.jarrn拷过来也不管用。。。我用的是JDK1.6和TOMCAT6.。。。。rn root cause rnjava.lang.NoClassDefFoundError: javax/el/ELResolverrn java.lang.ClassLoader.defineClass1(Native Method)rn java.lang.ClassLoader.defineClass(ClassLoader.java:621)rn java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)rn java.net.URLClassLoader.defineClass(URLClassLoader.java:260)rn java.net.URLClassLoader.access$000(URLClassLoader.java:56)rn java.net.URLClassLoader$1.run(URLClassLoader.java:195)rn java.security.AccessController.doPrivileged(Native Method)rn java.net.URLClassLoader.findClass(URLClassLoader.java:188)rn sun.misc.Launcher$ExtClassLoader.findClass(Launcher.java:229)rn java.lang.ClassLoader.loadClass(ClassLoader.java:307)rn java.lang.ClassLoader.loadClass(ClassLoader.java:300)rn sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)rn java.lang.ClassLoader.loadClass(ClassLoader.java:300)rn java.lang.ClassLoader.loadClass(ClassLoader.java:252)rn java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)rn org.apache.jasper.runtime.JspFactoryImpl.getJspApplicationContext(JspFactoryImpl.java:200)rn org.apache.jsp.login_jsp._jspInit(login_jsp.java:22)rn org.apache.jasper.runtime.HttpJspBase.init(HttpJspBase.java:52)rn org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:159)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:329)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:717)rnrn即使我把一个最简单的htm文件,改成JSP文件,也是报这个错误。rnrnrnrnrn
Telegraf启动一直报错
? telegraf.service - The plugin-driven server agent for reporting metrics into InfluxDBrn Loaded: loaded (/usr/lib/systemd/system/telegraf.service; enabled; vendor preset: disabled)rn Active: failed (Result: start-limit) since ? 2018-09-27 11:12:23 CST; 6s agorn Docs: https://github.com/influxdata/telegrafrn Process: 6368 ExecStart=/usr/bin/telegraf -config /etc/telegraf/telegraf.conf -config-directory /etc/telegraf/telegraf.d $TELEGRAF_OPTS (code=exited, status=1/FAILURE)rn Main PID: 6368 (code=exited, status=1/FAILURE)rnrn9? 27 11:12:23 localhost.localdomain systemd[1]: Unit telegraf.service entered failed state.rn9? 27 11:12:23 localhost.localdomain systemd[1]: telegraf.service failed.rn9? 27 11:12:23 localhost.localdomain systemd[1]: telegraf.service holdoff time over, scheduling restart.rn9? 27 11:12:23 localhost.localdomain systemd[1]: start request repeated too quickly for telegraf.servicern9? 27 11:12:23 localhost.localdomain systemd[1]: Failed to start The plugin-driven server agent for reporting metrics into InfluxDB.rn9? 27 11:12:23 localhost.localdomain systemd[1]: Unit telegraf.service entered failed state.rn9? 27 11:12:23 localhost.localdomain systemd[1]: telegraf.service failed.
tomcat 启动一直报错
[code=html]五月 20, 2014 9:17:21 上午 org.apache.catalina.core.StandardContext filterStartrnSEVERE: Exception starting filter StrutsrnUnable to load configuration. - [unknown location]rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:450)rn at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:74)rn at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:51)rn at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:281)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:107)rn at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4775)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5452)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1120)rn at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1678)rn at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)rn at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)rn at java.util.concurrent.FutureTask.run(Unknown Source)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)rn at java.lang.Thread.run(Unknown Source)rnCaused by: Unable to load configuration. - [unknown location]rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:69)rn at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:390)rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:437)rn ... 19 morernCaused by: Unable to load file:/D:/apache-tomcat-7.0.47/webapps/lookweb/WEB-INF/classes/struts.xml - [unknown location]rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadConfigurationFiles(XmlConfigurationProvider.java:954)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadDocuments(XmlConfigurationProvider.java:163)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:130)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:209)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)rn ... 21 morernCaused by: struts.apache.org - [unknown location]rn at com.opensymphony.xwork2.util.DomHelper.parse(DomHelper.java:115)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadConfigurationFiles(XmlConfigurationProvider.java:949)rn ... 25 morernCaused by: java.net.UnknownHostException: struts.apache.orgrn at java.net.AbstractPlainSocketImpl.connect(Unknown Source)rn at java.net.PlainSocketImpl.connect(Unknown Source)rn at java.net.SocksSocketImpl.connect(Unknown Source)rn at java.net.Socket.connect(Unknown Source)rn at java.net.Socket.connect(Unknown Source)rn at sun.net.NetworkClient.doConnect(Unknown Source)rn at sun.net.www.http.HttpClient.openServer(Unknown Source)rn at sun.net.www.http.HttpClient.openServer(Unknown Source)rn at sun.net.www.http.HttpClient.(Unknown Source)rn at sun.net.www.http.HttpClient.New(Unknown Source)rn at sun.net.www.http.HttpClient.New(Unknown Source)rn at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)rn at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)rn at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)rn at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)rn at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)rn at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(Unknown Source)rn at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(Unknown Source)rn at com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.setInputSource(Unknown Source)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.dispatch(Unknown Source)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.next(Unknown Source)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(Unknown Source)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)rn at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)rn at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)rn at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)rn at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)rn at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)rn at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)rn at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(Unknown Source)rn at com.opensymphony.xwork2.util.DomHelper.parse(DomHelper.java:113)rn ... 26 morernrn五月 20, 2014 9:17:21 上午 org.apache.catalina.core.StandardContext startInternalrnSEVERE: Error filterStart[/code]rn有人说是架包版本冲突,但还是解决不了。这个错有时候会报,有时候不会报错。郁闷~~~rn[img=https://img-bbs.csdn.net/upload/201405/20/1400549073_383928.jpg][/img]
报错:HTTP Status 500 - null
[img=https://img-bbs.csdn.net/upload/201705/21/1495355591_652543.jpg][/img]rn肯定代码没问题 一套系统 但是不知道是安装哪里出问题了 报错了rntype Exception reportrnrnmessage nullrnrndescription The server encountered an internal error that prevented it from fulfilling this request.rnrnexception rnrnjava.lang.NumberFormatException: nullrn java.lang.Integer.parseInt(Integer.java:454)rn java.lang.Integer.parseInt(Integer.java:527)rn com.zkyhoa.utils.PageFilter.getPageSize(PageFilter.java:61)rn com.zkyhoa.utils.PageFilter.doFilter(PageFilter.java:32)rn org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)rn org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)rn org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)rn org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)rnrnrnnote The full stack trace of the root cause is available in the Apache Tomcat/6.0.37 logs.rn
jsp页面报错 HTTP Status 500
HTTP Status 500 - An exception occurred processing JSP page /SearchList.jsp at line 27rnrn--------------------------------------------------------------------------------rnrntype Exception reportrnrnmessage An exception occurred processing JSP page /SearchList.jsp at line 27rnrndescription The server encountered an internal error that prevented it from fulfilling this request.rnrnexception rnrnorg.apache.jasper.JasperException: An exception occurred processing JSP page /SearchList.jsp at line 27rnrn24: rn25: <%rn26: String sql="select * from student order by id";rn27: java.util.List list = sBean.getSearch(sql);rn28: for(java.util.Iterator it = list.iterator();it.hasNext();)rn29: rn30: jBean=(server.JavaBean)it.next();rnrnrnStacktrace:rn org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:568)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:470)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:728)rnrnrnroot cause rnrnjava.lang.NullPointerExceptionrn server.SqlBean.getSearch(SqlBean.java:150)rn org.apache.jsp.SearchList_jsp._jspService(SearchList_jsp.java:104)rn org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:728)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:728)rnrnrnnote The full stack trace of the root cause is available in the Apache Tomcat/7.0.42 logs.rnrn代码如下:rn<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8"rn pageEncoding="UTF-8"%>rn <%rnString path = request.getContextPath();rnString basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";rn%>rn rnrnrnrn rn 显示记录rnrnrnrnrn rn rn IDrn Namern passwordrnrnrnrn<%rn String sql="select * from student order by id";rn [color=#FF0000]java.util.List list = sBean.getSearch(sql);[/color] rn for(java.util.Iterator it = list.iterator();it.hasNext();)rn rn jBean=(server.JavaBean)it.next();rn %> rn rn rn <%=jBean.getId() %>rn <%=jBean.getName() %>rn <%=jBean.getPassword() %>rn rn 增加rn 删除rn 更新rn rn rn <%rn rn %>rn rnrn rnrnrnrnrnrn红色的是错误的哪行,我看过一些帖子,说是sql为空值所以报错,我想知道,是不是jsp没有和SQL server连接上,这一步也会报错呢??rn求解答,新手上路[img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/003/monkey/2.gif][/img]
django 部署后一直返回500
将eclipse的django工程迁移至 pycharm中,配置文件保持不变,调试的时候却一直返回500。其中一个重要的参数配置改了之后就OK了 ROOT_URLCONF = 'Mysite_ops.urls' 其中Mysite_ops为你的工程目录
帮忙看个错?找了半天,没找到解决的方法。
在tomcat运行正常的项目,拿在jboss5.0下运行如下错误。rn有遇到的大神给指导一下,是什么问题。[img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/003/onion/3.gif][/img]rn[code=java]rn10:56:52,889 INFO [STDOUT] 10:56:52,888 ERROR ContextLoader:307 - Context initialization failedrnorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext-common.xml]: Invocation of init method failed; nested exception is org.hibernate.AnnotationException: java.lang.NoSuchMethodException: org.hibernate.validator.ClassValidator.(java.lang.Class, java.util.ResourceBundle, org.hibernate.validator.MessageInterpolator, java.util.Map, org.hibernate.annotations.common.reflection.ReflectionManager)rnCaused by: org.hibernate.AnnotationException: java.lang.NoSuchMethodException: org.hibernate.validator.ClassValidator.(java.lang.Class, java.util.ResourceBundle, org.hibernate.validator.MessageInterpolator, java.util.Map, org.hibernate.annotations.common.reflection.ReflectionManager)rn at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:188)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokern10:56:52,889 INFO [STDOUT] InitMethods(AbstractAutowireCapableBeanFactory.java:1545)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1483)rn ... 70 morernCaused by: java.lang.NoSuchMethodException: org.hibernate.validator.ClassValidator.(java.lang.Class, java.util.ResourceBundle, org.hibernate.validator.MessageInterpolator, java.util.Map, org.hibernate.annotations.common.reflection.ReflectionManager)rn at java.lang.Class.getConstructor0(Unknown Source)rn at java.lang.Class.getDeclaredConstructor(Unknown Source)rn at org.hibernate.cfg.Configuration.applyHibernateValidatorLegacyConstraintsOnDDL(Configuration.java:1669)rn ... 77 morern10:56:52,890 ERROR [[/hbx]] Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenerrnorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext-common.xml]: Invocation of init method failed; nested exception is org.hibernate.AnnotationException: java.lang.NoSuchMethodException: org.hibernate.validator.ClassValidator.(java.lang.Class, java.util.ResourceBundle, org.hibernate.validator.MessageInterpolator, java.util.Map, org.hibernate.annotations.common.reflection.ReflectionManager)rnCaused by: org.hibernate.AnnotationException: java.lang.NoSuchMethodException: org.hibernate.validator.ClassValidator.(java.lang.Class, java.util.ResourceBundle, org.hibernate.validator.MessageInterpolator, java.util.Map, org.hibernate.annotations.common.reflection.ReflectionManager)rn ... 70 morernCaused by: java.lang.NoSuchMethodException: org.hibernate.validator.ClassValidator.(java.lang.Class, java.util.ResourceBundle, org.hibernate.validator.MessageInterpolator, java.util.Map, org.hibernate.annotations.common.reflection.ReflectionManager)rn at java.lang.Class.getConstructor0(Unknown Source)rn at java.lang.Class.getDeclaredConstructor(Unknown Source)rn at org.hibernate.cfg.Configuration.applyHibernateValidatorLegacyConstraintsOnDDL(Configuration.java:1669)rn ... 77 morern10:56:52,890 ERROR [StandardContext] Error listenerStartrn10:56:52,890 ERROR [StandardContext] Context [/hbx] startup failed due to previous errorsrn10:56:52,890 INFO [[/hbx]] Closing Spring root WebApplicationContextrn10:56:53,332 ERROR [AbstractKernelController] Error installing to Start: name=jboss.web.deployment:war=/hbx state=Create mode=Manual requiredState=Installedrnorg.jboss.deployers.spi.DeploymentException: URL file:/D:/jboss-5.0.1.GA/server/default/tmp/5c4o12x-q5f4ah-hnzep77o-1-hnzepnq6-9m/hbx.war/ deployment failedrn at java.lang.Thread.run(Unknown Source)rn10:56:53,336 ERROR [AbstractKernelController] Error installing to Real: name=vfszip:/D:/jboss-5.0.1.GA/server/default/deploy/hbx.war/ state=PreReal mode=Manual requiredState=Realrnorg.jboss.deployers.spi.DeploymentException: URL file:/D:/jboss-5.0.1.GA/server/default/tmp/5c4o12x-q5f4ah-hnzep77o-1-hnzepnq6-9m/hbx.war/ deployment failedrn10:56:53,360 INFO [TomcatDeployment] deploy, ctxPath=/jmx-consolern10:56:53,404 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):rnrnDEPLOYMENTS IN ERROR:rn Deployment "vfszip:/D:/jboss-5.0.1.GA/server/default/deploy/hbx.war/" is in error due to the following reason(s): org.jboss.deployers.spi.DeploymentException: URL file:/D:/jboss-5.0.1.GA/server/default/tmp/5c4o12x-q5f4ah-hnzep77o-1-hnzepnq6-9m/hbx.war/ deployment failedrnrnrnrn[/code]
第一次写DLL,不知道错在哪,找了好久也没找到
下面文件的内容:rnunit Unit1;rnrninterfacernrnrnfunction load_text(messages: string):string;stdcall;rnimplementationrnfunction load_text(messages: string):string;rnbeginrn load_text := messages + '中华人民共和国';rnend;rnrnend.rn///////////////////////////////////rn一面是调用上面DLL文件的EXE文件内容:rnunit Unit1;rnrninterfacernrnusesrn Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,rn Dialogs, StdCtrls;rnrntypern TForm1 = class(TForm)rn Button1: TButton;rn procedure Button1Click(Sender: TObject);rn privatern Private declarations rn publicrn Public declarations rn end;rn//function load_text(messages: string):string;stdcall;external '..\dll_test\project1.dll';rnvarrn Form1: TForm1;rnrnimplementationrnrn$R *.dfmrnrnrnprocedure TForm1.Button1Click(Sender: TObject);rntype tstrfunc = function (messages: string):string;stdcall;rnvar dll_file: Thandle;rn load_text: Tstrfunc;rn//var messages: string;rnbeginrndll_file := loadlibrary('..\dll_test\project1.dll');rnif dll_file <> 0 thenrn load_text := getprocaddress(dll_file,'load_text');rnshowmessage(load_text('动态载入DLL'));rnfreelibrary(dll_file);rnrnmessages := load_text('动态载入DLL文件');rnshowmessage(messages);rnrnend;rn///////////////rn运行后,先是出现SHOWMESSAGE 显示的内容,后来就是出现一个错误提示框,,,不知是那里错了,大家帮我找一下,行吗,谢谢了!!!
如何实现带复选框的下拉列表!找了好久没找到
如下图这种效果的rnrn是combox不是listbox!rnrn[img=https://img-bbs.csdn.net/upload/201709/26/1506393022_575852.png][/img]
找了好久没找到 sametime和workplace哪有下载呀,先谢了!!
找了好久没找到 sametime和workplace哪有下载呀,先谢了!!
找了三个月,没找到工作 。
最近接触的很多测试从业者:年前离职 ,中间经历过春节假期,年后回来找工作 。截止目前,前后空档了三个月,还没找到满意的工作 。 对于此现状,多数人,肯定是焦虑、着急 。而且每次面试,面试官都会问,为何这么久没找到工作 。 最终,迫于压力,多半会找到一家不太满意的岗位,先应付当前现状 。 如此,恶性循环。当初,本想远离大坑,重新找一份靠谱的工作,才离职,谁知...
谁有C++的练手的例子,给我发几个?找了好久没找到
如题:bbs2241@sina.comrn如果发了 请写明你的邮箱,好给你加分
找了好久没找到,QT中有没有树型表格这种控件???
请教大牛,如题rnrn就是表格中的某个记录可以树状展开成多行,也就是树形表格,树状表格rnrn谢谢!
找了好久还是没找到答案:关键字 水晶报表 参数 导出
用水晶报表9.2绑定存储过程做了一个报表,在存储过程没用参数时,用自带的导出到excel,word可以正确执行,但用了参数后,报表能正确显示,而导出就不行了。不知如何解决?还有,导出到Excel后边框线全没了,怎样才能找回?
空指针异常,找了好久都不知道怎么解决
[code=java]rnrnimport java.awt.*;rnimport javax.swing.*;rnrnpublic class ceshi extends JFrame rnrnprivate static final int PRE_WIDTH = 500;rnprivate static final int PRE_HEIGTH = 400;rnprivate String []mOp = "MC", "MR", "MS", "M+";rnrnrnceshi()rnrn initislize();rnrnvoid initislize()rnrn this.setTitle("计算器");rn this.setResizable(false);rn setBounds(400, 400, 500, 500); rnrn JPanel panel = new JPanel();rn panel.setLayout(new BorderLayout(10,1)); //BorderLayout中各区域相邻控件的间隔rn panel.setPreferredSize(new Dimension(PRE_WIDTH, PRE_HEIGTH));rnrnrntryrnrn JButton [] mButton = getMButton(); [color=#FF0000]//就是这里有问题[/color]rn JPanel panel1 = new JPanel();rn panel1.setLayout(new GridLayout(5,1,0,5));rn for(JButton b: mButton)rn panel1.add(b);rn panel.add(panel1, BorderLayout.WEST);rnrncatch(NullPointerException e)rnrn System.out.println("又异常了,怎么做");rnrnrnrnrnrnrnadd(panel);rnrnsetVisible(true);rnvalidate();rnrnrnrn//创建左侧操作按件rnJButton [] getMButton()rnrnJButton [] result = new JButton[mOp.length];rnrnfor(int i = 0; i
http 错误 500 看了很多资料一直未能解决 求
Server Application ErrorrnThe server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more detail information. Please contact the server administrator for assistance.rnrn上面的是去掉小勾后显示的 内容rnrn看来很多其他网友提供的答案,但是未能找到一个适合自己的.希望有高手可以指点.我的是xp系统 sp2 的
G42.的bios 找了好久的
g42bios 联想g42的bios程序下载
JQuery.Gantt 找了好久的例子
JQuery.Gantt 解决了起始日期错位,末尾日期换行的问题,多个不同时间段甘特计划在同一行显示。
问题啊,找了好久
项目 Nokia 缺少必需的库:“C:Nokia/Devices/Nokia_Prototype_SDK_2_0/devices/Prototype_2_0_S60_MIDP_Emulator/m3gclasses bluetoothclasses fcaclasses pimclasses topdir%/lib/cldcapi11.zip”rnrn这是怎么回事啊rn应该怎么做
找了好久的《兰花花》吉他谱
-
Servlet Demo先是报错500,然后一直404如何解决
写了一个Servlet模拟登陆的Demo,但是运行tomcat之后,登陆网址出现500错误,刷新之后又出现404错误,如何解决n![第一次刷新](https://img-ask.csdn.net/upload/201808/28/1535460951_479869.png)nn![第二次刷新](https://img-ask.csdn.net/upload/201808/28/1535460977_622473.png)nnhtml能够登陆,跳转之后出现404n![html](https://img-ask.csdn.net/upload/201808/28/1535461007_849724.png)nn这是项目结构:n![图片说明](https://img-ask.csdn.net/upload/201808/28/1535461035_490987.png)
HTTP 500 错误,如何解决?
最近因为这个错误重装系统二次,结果IIS还是出现这个问题,我有去网上搜索这方面的资料,但是都不是正确的答案,希望大家能给我正确的信息。
HTTP Status 500 怎么解决
type Exception reportrnrnmessage rnrndescription The server encountered an internal error () that prevented it from fulfilling this request.rnrnexception rnrnjavax.servlet.ServletExceptionrn org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535)rn org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433)rn org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)rn org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)rn org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:709)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:802)rn com.quotation.util.EncodingFilter.doFilter(EncodingFilter.java:28)rnrnrnroot cause rnrnjava.lang.NullPointerExceptionrn com.quotation.daoimp.UserLoginDaoImp.findUser(UserLoginDaoImp.java:22)rn com.quotation.serviceimp.UserLoginImp.findUser(UserLoginImp.java:18)rn com.quotation.action.LoginAction.one(LoginAction.java:31)rn sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn java.lang.reflect.Method.invoke(Method.java:585)rn org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:270)rn org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:187)rn org.apache.struts.actions.MappingDispatchAction.execute(MappingDispatchAction.java:169)rn org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)rn org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)rn org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)rn org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:709)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:802)rn com.quotation.util.EncodingFilter.doFilter(EncodingFilter.java:28)rnrnrnJAVA页面的代码rnpublic class UserLoginDaoImp implements UserLoginDao rn List list=null;rn public List findUser(String name, String password) rn Session session=HibernateSessionFactory.getSession();rn Transaction tx=null;rn String hql=null;rn try rn hql="from User as a where a.YONGHU_YHMC='"+name+"' and a.YONGHU_YHMM='"+password+"'";rn tx=session.beginTransaction();rn list=session.createQuery(hql).list();rn tx.commit();rn return list;rn catch (HibernateException e) rn e.printStackTrace();rn if(tx!=null) tx.rollback();rn return null;rn finallyrn HibernateSessionFactory.closeSession();rn rn rnrn貌似是Session session=HibernateSessionFactory.getSession();这一句出了问题session取不到值rnrn我是一个新手,这是别人写的代码,先还可以运行的,我也没有改代码,就调试了之后就不知道怎么回事不能运行了rn谢谢那位大哥帮帮小弟吧,小弟在这跟你磕头了
HTTP 500错误问题怎么解决?
环境:win2000+jdk1.6.06+Apache Tomcat 6.0.16 + accessrn开发:eclipse 3.3rn问题:HTTP 500rn详细描述:rn通过eclipse启动TOMCAT,什么事都没有。但通过TOMCAT 控制台TOMCAT时,其它都正常,就是JSP连数据库时报 HTTP STATUS 500.rntype Exception reportrnrnmessage rnrndescription The server encountered an internal error () that prevented it from fulfilling this request.rnrnexception rnrnorg.apache.jasper.JasperException: java.lang.NullPointerExceptionrn org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:522)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:416)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:803)rnrnrnroot cause rnrnjava.lang.NullPointerExceptionrn bocbi.jdbcUtil.initDBS(jdbcUtil.java:262)rn bocbi.jdbcUtil.xml2table(jdbcUtil.java:182)rn org.apache.jsp.download_jsp._jspService(download_jsp.java:81)rn org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:803)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:803)rnrnrnnote The full stack trace of the root cause is available in the Apache Tomcat/6.0.16 logs.rnrnrn--------------------------------------------------------------------------------rn
http 500 错误!请求解决!
我的IIS运行HTM没有错误,运行所有ASP都出现HTTP 500 错误!没有具体提示.rn在系统日制里面有:rn服务器未能转入应用程序 '/LM/W3SVC/1/ROOT/IISADMIN'。错误是 '服务器运行失败rn'。 rn若要获取关于此消息的更多的信息,请访问 Microsoft 联机支持站点: http://www.microsoft.com/contentredirect.asp 。 rnrnrn服务器 3D14228D-FBE1-11D0-995D-00C04FD919C1 没有在限定的时间内用 DCOM 注册。 rnrn这两条错误!我并没有建立AD,所以不能按照以前提供的三个密码不符的问题解决,请问是什么问题?谢谢!(不过我以前建过AD,而中途删除过AD,现在怎么办?如果要更改AD的密码的话怎么更改,因为我已经删除了AD!)
gnomenu1.9 我找了好久的
gnomenu是linux界面美化的一大重要工具 在www.gnome-look.org里有主题下载 但却没有这个东西下载 这东西难找啊, 这么难找,不得不多收一点分
jsp聊天室,找了好久
我要做一个最简单的聊天室:rn功能,不用登陆,只要能发信息,定时刷新的就可以,什么滚屏都不用,用application做的就可以,哪位大手,给贴出代码,越简单越好.rn或者给出如何做的方法也行.
我后,找了好久我后,找了好久
lcd chao好的程lcd chao好的程序序lcd chao好的程序lcd chao好的程序
http 500的错误怎么解决?
最近下载了雪人的论坛试用,发表新贴时总是出现如下错误rnHTTP 500 - Internal server error rnInternet Explorer rn请教高手怎么解决?
Gradle 报错,怎么解决?在网上找了很多方法,都不能解决
代码如下:rnError:Internal error:rnorg.gradle.tooling.BuildException: Could not execute build using Gradle installation 'D:\Program Files\gradle-4.8-rc-1'.rn at org.gradle.tooling.internal.consumer.ExceptionTransformer.transform(ExceptionTransformer.java:51)rn at org.gradle.tooling.internal.consumer.ExceptionTransformer.transform(ExceptionTransformer.java:29)rn at org.gradle.tooling.internal.consumer.ResultHandlerAdapter.onFailure(ResultHandlerAdapter.java:41)rn at org.gradle.tooling.internal.consumer.async.DefaultAsyncConsumerActionExecutor$1$1.run(DefaultAsyncConsumerActionExecutor.java:57)rn at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)rn at org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:46)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)rn at java.lang.Thread.run(Thread.java:745)rn at org.gradle.tooling.internal.consumer.BlockingResultHandler.getResult(BlockingResultHandler.java:46)rn at org.gradle.tooling.internal.consumer.DefaultBuildLauncher.run(DefaultBuildLauncher.java:77)rn at com.android.tools.idea.gradle.project.build.invoker.GradleTasksExecutor$GradleTasksExecutorImpl.lambda$invokeGradleTasks$2(GradleTasksExecutor.java:418)rn at org.jetbrains.plugins.gradle.service.execution.GradleExecutionHelper.execute(GradleExecutionHelper.java:222)rn at com.android.tools.idea.gradle.project.build.invoker.GradleTasksExecutor$GradleTasksExecutorImpl.invokeGradleTasks(GradleTasksExecutor.java:458)rn at com.android.tools.idea.gradle.project.build.invoker.GradleTasksExecutor$GradleTasksExecutorImpl.run(GradleTasksExecutor.java:271)rn at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:718)rn at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:170)rn at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:548)rn at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:493)rn at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:94)rn at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:157)rn at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:165)rn at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:330)rn at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)rn at java.util.concurrent.FutureTask.run(FutureTask.java:266)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)rn at java.lang.Thread.run(Thread.java:745)rnCaused by: org.gradle.internal.exceptions.LocationAwareException: Execution failed for task ':app:processDebugManifest'.rn at org.gradle.initialization.DefaultExceptionAnalyser.transform(DefaultExceptionAnalyser.java:74)rn at org.gradle.initialization.MultipleBuildFailuresExceptionAnalyser.transform(MultipleBuildFailuresExceptionAnalyser.java:47)rn at org.gradle.initialization.StackTraceSanitizingExceptionAnalyser.transform(StackTraceSanitizingExceptionAnalyser.java:30)rn at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:143)rn at org.gradle.initialization.DefaultGradleLauncher.executeTasks(DefaultGradleLauncher.java:115)rn at org.gradle.internal.invocation.GradleBuildController$1.call(GradleBuildController.java:77)rn at org.gradle.internal.invocation.GradleBuildController$1.call(GradleBuildController.java:74)rn at org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:152)rn at org.gradle.internal.work.StopShieldingWorkerLeaseService.withLocks(StopShieldingWorkerLeaseService.java:38)rn at org.gradle.internal.invocation.GradleBuildController.doBuild(GradleBuildController.java:96)rn at org.gradle.internal.invocation.GradleBuildController.run(GradleBuildController.java:74)rn at org.gradle.tooling.internal.provider.runner.BuildModelActionRunner.run(BuildModelActionRunner.java:55)rn at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)rn at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)rn at org.gradle.tooling.internal.provider.ValidatingBuildActionRunner.run(ValidatingBuildActionRunner.java:32)rn at org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner$3.run(RunAsBuildOperationBuildActionRunner.java:47)rn at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:317)rn at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:309)rn at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:185)rn at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:97)rn at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)rn at org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner.run(RunAsBuildOperationBuildActionRunner.java:43)rn at org.gradle.tooling.internal.provider.SubscribableBuildActionRunner.run(SubscribableBuildActionRunner.java:51)rn at org.gradle.launcher.exec.InProcessBuildActionExecuter$1.transform(InProcessBuildActionExecuter.java:45)rn at org.gradle.launcher.exec.InProcessBuildActionExecuter$1.transform(InProcessBuildActionExecuter.java:41)rn at org.gradle.composite.internal.DefaultRootBuildState.run(DefaultRootBuildState.java:65)rn at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:41)rn at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:31)rn at org.gradle.launcher.exec.BuildTreeScopeBuildActionExecuter.execute(BuildTreeScopeBuildActionExecuter.java:39)rn at org.gradle.launcher.exec.BuildTreeScopeBuildActionExecuter.execute(BuildTreeScopeBuildActionExecuter.java:25)rn at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:80)rn at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:53)rn at org.gradle.tooling.internal.provider.ServicesSetupBuildActionExecuter.execute(ServicesSetupBuildActionExecuter.java:62)rn at org.gradle.tooling.internal.provider.ServicesSetupBuildActionExecuter.execute(ServicesSetupBuildActionExecuter.java:34)rn at org.gradle.tooling.internal.provider.GradleThreadBuildActionExecuter.execute(GradleThreadBuildActionExecuter.java:36)rn at org.gradle.tooling.internal.provider.GradleThreadBuildActionExecuter.execute(GradleThreadBuildActionExecuter.java:25)rn at org.gradle.tooling.internal.provider.ParallelismConfigurationBuildActionExecuter.execute(ParallelismConfigurationBuildActionExecuter.java:43)rn at org.gradle.tooling.internal.provider.ParallelismConfigurationBuildActionExecuter.execute(ParallelismConfigurationBuildActionExecuter.java:29)rn at org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.java:59)rn at org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.java:31)rn at org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:59)rn at org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:44)rn at org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:46)rn at org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:30)rn at org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:67)rn at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)rn at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:122)rn at org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:37)rn at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:122)rn at org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:26)rn at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:122)rn at org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:34)rn at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:122)rn at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:74)rn at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:72)rn at org.gradle.util.Swapper.swap(Swapper.java:38)rn at org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:72)rn at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:122)rn at org.gradle.launcher.daemon.server.exec.LogAndCheckHealth.execute(LogAndCheckHealth.java:55)rn at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:122)rn at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:62)rn at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)rn at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:122)rn at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:82)rn at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)rn at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:122)rn at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:50)rn at org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:295)rn at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)rn at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)rn at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)rnCaused by: org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:processDebugManifest'.rn at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:110)rn at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:77)rn at org.gradle.api.internal.tasks.execution.OutputDirectoryCreatingTaskExecuter.execute(OutputDirectoryCreatingTaskExecuter.java:51)rn at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:59)rn at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54)rn at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:59)rn at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:101)rn at org.gradle.api.internal.tasks.execution.FinalizeInputFilePropertiesTaskExecuter.execute(FinalizeInputFilePropertiesTaskExecuter.java:44)rn at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:91)rn at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:62)rn at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:59)rn at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)rn at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)rn at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)rn at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.run(EventFiringTaskExecuter.java:51)rn at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:317)rn at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:309)rn at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:185)rn at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:97)rn at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)rn at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:46)rn at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$ExecuteTaskAction.execute(DefaultTaskExecutionGraph.java:262)rn at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$ExecuteTaskAction.execute(DefaultTaskExecutionGraph.java:246)rn at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:136)rn at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:130)rn at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.execute(DefaultTaskPlanExecutor.java:201)rn at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.executeWithTask(DefaultTaskPlanExecutor.java:192)rn at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.run(DefaultTaskPlanExecutor.java:130)rn ... 3 morernCaused by: java.lang.RuntimeException: Manifest merger failed : uses-sdk:minSdkVersion 15 cannot be smaller than version 17 declared in library [com.github.xuexiangjys:XUI:1.0.4] C:\Users\Administrator\.android\build-cache\0e85c716275ee970052537f7d72f491aaf0a4a05\output\AndroidManifest.xmlrn Suggestion: use tools:overrideLibrary="com.xuexiang.xui" to force usagern at com.android.builder.core.AndroidBuilder.mergeManifestsForApplication(AndroidBuilder.java:576)rn at com.android.build.gradle.tasks.MergeManifests.doFullTaskAction(MergeManifests.java:74)rn at com.android.build.gradle.internal.tasks.IncrementalTask.taskAction(IncrementalTask.java:82)rn at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)rn at org.gradle.api.internal.project.taskfactory.IncrementalTaskAction.doExecute(IncrementalTaskAction.java:50)rn at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:39)rn at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:26)rn at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$1.run(ExecuteActionsTaskExecuter.java:131)rn at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:317)rn at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:309)rn at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:185)rn at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:97)rn at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)rn at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:120)rn at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:99)rn ... 30 more
cw7805资料一直没找到
找到的都是LM7805什么的,请提供
求助 这个错在哪里 找了好久 一直找不出来
严重: Servlet.service() for servlet jsp threw exceptionrnjava.lang.ClassNotFoundException: org.apache.jsp.rsgl.page.sydw.recruitment.recpersonsb.recpersonsb_jsp$recpersonsb_jspHelperrn at java.net.URLClassLoader$1.run(URLClassLoader.java:200)rn at java.security.AccessController.doPrivileged(Native Method)rn at java.net.URLClassLoader.findClass(URLClassLoader.java:188)rn at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:134)rn at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:66)rn at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)rn at java.lang.Class.getDeclaredConstructors0(Native Method)rn at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)rn at java.lang.Class.getConstructor0(Class.java:2699)rn at java.lang.Class.newInstance0(Class.java:326)rn at java.lang.Class.newInstance(Class.java:308)rn at org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:145)rn at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:329)rn at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)rn at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654)rn at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:445)rn at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379)rn at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:292)rn at org.apache.struts2.dispatcher.ServletDispatcherResult.doExecute(ServletDispatcherResult.java:164)rn at org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResultSupport.java:191)rn at com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:372)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:276)rn at com.yinhai.ta3.system.web.PageFieldsAuthorizationInterceptor.intercept(PageFieldsAuthorizationInterceptor.java:49)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)rn at com.yinhai.ta3.system.web.ChangePositionOrMenuInterceptor.intercept(ChangePositionOrMenuInterceptor.java:70)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)rn at com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:138)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)rn at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:229)rn at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)rn at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:229)rn at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)rn at com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:191)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)rn at org.apache.struts2.interceptor.MultiselectInterceptor.intercept(MultiselectInterceptor.java:73)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)rn at org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:91)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)rn at org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:253)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)rn at com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:145)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)rn at com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:171)rn at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)rn at org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:164)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)rn at com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:193)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)rn at com.yinhai.webframework.MySubmitValueIntercptor.intercept(MySubmitValueIntercptor.java:87)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)rn at com.yinhai.webframework.MyExceptionMappingInterceptor.intercept(MyExceptionMappingInterceptor.java:44)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)rn at org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:54)rn at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:567)rn at org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:81)rn at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:99)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at com.yinhai.sysframework.security.ta3.Ta3SecurityFilter.doFilter(Ta3SecurityFilter.java:118)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.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:232)rn at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:106)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:123)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at com.yinhai.sysframework.security.ta3.TaRefererFilter.doFilter(TaRefererFilter.java:55)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:230)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)rn at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)rn at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)rn at java.lang.Thread.run(Thread.java:619)rn
使用Jquery的cropper插件http报错500的解决小结
在使用jquery的cropper插件出现apache报错500我遇到的有两个原因: 1.我在form表单里面进行了嵌套,而form表单是不允许嵌套的,所以在提交表单的时候程序不知道那个跳转链接是它需要的,就会报错500.解决方法是把嵌套的form表单拿出来,变成并行就可以了。 2.在后台进行裁剪的时候,执行到语句:$type = exif_imagetype($file['tm
一直纠结的一个问题,找了好久都找不到为什么
[img=https://img-bbs.csdn.net/upload/201409/02/1409624566_294659.png][/img]rnrn重新引用也没用rnWeb.config 也配置过了rn rn rn rnDLL权限什么的也给了.rn总是提示这个错误,实在没辙了[img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/003/monkey/32.gif][/img]
一直没找到的问题
SQL SERVER 中作业中代码,在数据库表中有体现吗?在那个表,数据库备份还原,作业就没有了.
JSP报错http status 500 ,请帮忙解决,谢谢
<%@page contentType="text/html;charset=GBK"%>rn<%@page import="java.sql.*"%>rnrn<%@ include file="/public/checkvalidstudent.jsp"%>rn<%!rn ResultSet rs = null; // 执行Sql语句返回的结果集rn String sql = "";rn String classid = "";rn String classname = ""; // 测试班级名称rn int examtime = 0; // 考试时间rn int total_question_in_paper; // 每份试卷中的考题数目rn int total_paper_num=0; // 试卷总数rn int paper_array[];rn int curr_paperid=0; // 当前命中的试卷号rn%>rnrn<%rnclassid = request.getParameter("classid");rnrnif(classid == null) rn out.println("系统错误, 无正确的班级ID号!");rn return;rnrnrnsql = "select * from test_classinfo where classid='" + classid + "'";rntry rn rs = conn.executeQuery( sql );rncatch(Exception ee) rn out.println("");rn out.println("访问课程信息出错!请将以下信息告知系统管理员。 ");rn out.println(ee.toString() + " ");rn out.println("单击这里返回");rn out.println("");rnrnif(!rs.next()) rn out.println("数据库中没有课程信息,无法进行考试!");rn return;rnrnclassname = rs.getString("classname");rnexamtime = rs.getInt("totaltime");rntotal_question_in_paper = rs.getInt("totalques");rntotal_paper_num = rs.getInt("totalpaper");rnrn// 下面从班级代码为classid的试卷中随机抽取一套,进行考试rnsql = "select distinct paper_id from test_paper_info where classid='" + classid + "'";rnrs = conn.executeQuery( sql );rnif(!rs.next()) rn out.println("还没有班级代号为 " + classid + " 的试题,请联系管理员!");rn return;rnrnrnpaper_array = new int[total_paper_num];rnint index=0;rndorn paper_array[index++] = rs.getInt("paper_id");rnwhile(rs.next());rncurr_paperid = paper_array[(int)Math.floor(Math.random()*total_paper_num)];rnsession.setAttribute("paperid",""+curr_paperid);rnsession.setAttribute("classid",""+classid);rnrnsql = "select * from TEST_PAPER_INFO where paper_id=" + curr_paperid;rnrs = conn.executeQuery( sql );rn%>rnrnrnrn rnrn rn 入学测试试题rn rnrnrnrnrn rn rn <%=classname%>入学测试 rn rn rn rn 考试时间: rn <%=examtime%> minutesrn rnrn 开始时间: rn rn 使用时间: rn rn rn rn rnrn rn rn rn <%=classname%>入学测试rn rnrnrnrn<%rnint question_index=1;rnint tmp_questionid=0;rnwhile(rs.next()) rntmp_questionid=rs.getInt("QUESTIONID");rn%>rn rn <%rn if(rs.getInt("selectid")==1) rn %>rn rn 答案rn <%="(" + question_index + ") " + rs.getString("qname")%>(单选题)rn rn rn A <%=rs.getString("choice1")%>rn rn B <%=rs.getString("choice2")%>rn rn C <%=rs.getString("choice3")%>rn rn D <%=rs.getString("choice4")%>rn <%rn else rn %>rn rn 答案rn <%="(" + question_index + ") " + rs.getString("qname")%>(多选题)rn rn rn A <%=rs.getString("choice1")%>rn rn B <%=rs.getString("choice2")%>rn rn C <%=rs.getString("choice3")%>rn rn D <%=rs.getString("choice4")%>rn <%%>rn rn<%rnquestion_index++;rn rn%> rn rn rn rn rnrnrnrnrn
相关热词 c++和c#哪个就业率高 c# 批量动态创建控件 c# 模块和程序集的区别 c# gmap 截图 c# 验证码图片生成类 c# 再次尝试 连接失败 c#开发编写规范 c# 压缩图片好麻烦 c#计算数组中的平均值 c#获取路由参数