第一次部署PHP项目,使用phpStudy,有没有大神在,在线急等。出现进入不了页面的问题

求助,大神在线指导部署跑通PHP项目,使用phpStudy,有没有大神在,在线急等。出现进入不了页面的问题

php

2个回答

看看服务器开了没有 应该是Apache没开启

问题描述不请,你的先检测mysql,apache服务启动成功没有

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
使用phpstudy部署php项目
1、搭建虚拟服务器 注意:网站目录在TP项目的public下 2、打开hosts创建虚拟域名映射端口 注意: #要去掉 3、在vhosts中添加伪静态处理代码(不添加这个进不去controller!!!) if (!-e $request_filename) { rewrite ^(.*)...
怎么得到点击进入另一个页面的那个页面的地址啊?(在线等,急)
比如我从a.aspx页面中点击任一链接进入b.aspx页面,我怎么在b.aspx页中获得a.aspx的完整地址啊?
phpstudy 同时部署多个项目
这也是自己在使用过程中学习的,记录下来加深下自己的知识。 1、在phpstudy目录下新建一个项目名称的文件夹并将项目放进去 2、电器站点域名管理。创建新的站点 3、在站点管理界面只需要选择新创建的项目目录和修改端口就可以,点击修改和保存设置按钮 4.最后重启phpstudy,在地址栏输入localhost:端口号    可同时部署多个项目 ,要保证端口号不被占用就好...
第一次使用VC6,急,在线等!!!
不明白为什么除了CPP文件,还生成了NCB文件,dsp文件,和plg文件。还有一个叫DEBUG的子目录。rn我不要建立它们,行不行?怎么才能不建立他们?rnrn还有,怎么能像BC31那样,用alt-f5看结果,任意键返回。rn?????
奇怪问题,分不了页,在线等
分页本来已经很熟的,但今天出问题,分页代码一行都没有改,竞然分不了,把数据全读了出来,但下面的分页按钮却正常,如数据库有1173条数据,我定义每页是40个,分类按钮已经显示有1173/40=30页了,怎么回事,数据全是日文的。
控制关闭页面的问题!在线等!!!!!!!!!!
我想做的是当用户点击浏览器右上角关闭页面的时候,弹出提示框。让用户选择,1、是:关闭页面;2、跳转到首页;3、不做任何操作,以下代码在点关闭的时候会弹出提示框。。但选择了是、否、取消之后都会关闭页面。。我需要做的是用户选择不同的按钮后会按照我的要求做。。比如。点关闭之后弹出提示框,我选择了否,就应该跳转到首页,选择了取消就不做操作,选择了是就关闭页面。。还有可不可以在用户刷新的时候不要弹出提示框,只有在关闭的时候才弹出提示框的rn[code=VBScript]rn rnrn[/code]rn[code=JScript]rnrn [/code]rn
调用页面的问题?在线等
偶在一个.htm页面中调用view.asp为什么没有显示,左下头提示页面有错误??rnview.asp页面可以单独显示没有错误啊???rnrn.htm中的调用代码rn rnrnview.asp的代码rn<%rnrndim connf,rs,SQLrnset connf=server.CreateObject("ADODB.connection")rnset rs=server.createobject("ADODB.recordset")rnconnf.Open "Driver=Microsoft Access Driver (*.mdb); DBQ=" & Server.MapPath("db.mdb")rn'response.buffer = falsernrn%>rn<%rn dim numrn num=request("areaid")rn rs.open "select * from Contents where areaid="& num &" ",connf,1,1rn rn const pagesize=6rn rs.pagesize=pagesizern if not(rs.bof and rs.eof) then rs.MoveFirstrn rs.AbsolutePage = 1rn for ipage=1 to pagesizern dim irn i=request("araid")rn rn%>rnrn" target=\"_blank\>rnresponse.write("<%=rs("title")%>") rn <%rn rn rs.movenextrn if rs.EOF then exit forrn nextrnconnf.Closern set connf=nothingrn rn %>rnrn
上传页面的一个问题(在线等)
上传图片 可以达到 点浏览以后 选择图片 在页面上预览他选择的 图片 rn然后在点击确定 保存路径 点取消 不保存路径和图片吗? rn最好给我 代码 谢谢
在线等,动态关联页面的问题?
我在该网站的文档中心看到ASP+javascrip版的省市动态关联页面,我把他改成JSPjavascrip版的,出现rnrn------------------------------------------------------------------------------------rnorg.apache.jasper.JasperException: Unable to compile class for JSPrnrnAn error occurred at line: 80 in the jsp file: /test.jsprnrnGenerated servlet error:rn [javac] Compiling 1 source filernrnD:\Tomcat\work\Catalina\localhost\rhsb\org\apache\jsp\test_jsp.java:137: cannot resolve symbolrnsymbol : variable province rnlocation: class org.apache.jsp.test_jsprn out.print(province);rn ^rnrnrnrnAn error occurred at line: 80 in the jsp file: /test.jsprnrnGenerated servlet error:rnD:\Tomcat\work\Catalina\localhost\rhsb\org\apache\jsp\test_jsp.java:140: cannot resolve symbolrnsymbol : variable province rnlocation: class org.apache.jsp.test_jsprn out.print(province);rn ^rn2 errorsrnrnrn org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:127)rn org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:351)rn org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:415)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:458)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)rn org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:553)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:856)rnrn-------------------------------------------------------------------------------------rn一.数据库:rn表1:Region(ID,Province)rn表2:City(ID,City,Province)rn二.代码实现:rn-------------------------------------------------------------------------------------rn<%@ page contentType="text/html;charset=gb2312"%> rn<%@ page import="java.sql.*,java.util.*"%> rn<%Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); rnString url="jdbc:odbc:rhsb"; rnString user="sa"; rnString password="c1e2n3"; rnConnection conn= DriverManager.getConnection(url,user,password); rnStatement stmt=conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,rn ResultSet.CONCUR_READ_ONLY); rnConnection conn1= DriverManager.getConnection(url,user,password); rnStatement stmt1=conn1.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,rn ResultSet.CONCUR_READ_ONLY); rnrn%>rn<%rnrequest.setCharacterEncoding("gb2312");rnrnrn String sql = "select * from Region";rn ResultSet rs = stmt.executeQuery(sql);rn while(rs.next())rn rn String province = rs.getString("Province");rn rnrn rn rn rs.close();rnrnrnrn%>rnrnrnrn rn rn 会员登录rnrnrnrn rnrn rn rn rn rn 地区rn rn <%=province%>rn rn rn 城市rn rn rn rn rn rnrnrnrnrnrnrn
二进制流图片显示在页面的问题。在线等
我把图片用二进制流格式存到数据库,再提出来显示到页面。rnResponse.BinaryWrite((byte[])filedata);rn但是如果图片格式是gif,或者jpg,显示一点问题都没有,但是如果是图画本编辑的bmp后缀图片,输出就有时会出现不显示,弹出提示下载框,注意我说的是有时候,意思是在我代码不改变的情况下,有时又可以把图片显示出来而不出现提示下载框,我研究了下规律,好像是第1次运行就弹出提示下载框,点取消,再运行就显示的是图片了。rn请问这个问题怎么解决啊?在线等~
有关打印页面的问题?(—————在线等——————)
如题rnrn小弟做了一个基于WEB的表单,但最后要打印出来,为了方便,我是直接打印页面的,但在打印后发现页面上Textbox控件的边框和滚动条都打印出来了, 基于打印的美观性,我怎样做才能在打印后的效果中不显示Textbox的边框和滚动条,谢谢各位!!!
页面的显示问题,在线等
我做了一个动态的树型菜单,是用java写的。当我点击树型菜单的一个链接时,如何叫页面现在在最右面的空白处呢?二不是单独弹出一个页面
水晶报表部署出现的问题----在线等
“/gzgj”应用程序中的服务器错误。rn--------------------------------------------------------------------------------rnrn检索 COM 类工厂中 CLSID 为 11BD5260-15B6-412D-80DB-12BB60B8FE50 的组件时失败,原因是出现以下错误: 800736b1。 rn说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 rnrn异常详细信息: System.Runtime.InteropServices.COMException: 检索 COM 类工厂中 CLSID 为 11BD5260-15B6-412D-80DB-12BB60B8FE50 的组件时失败,原因是出现以下错误: 800736b1。rnrn源错误: rnrnrn行 25: DataTable dt = (DataTable)Session["dt1"];rn行 26: rn行 27: ReportDocument rd = new ReportDocument();  //创建报表对象rn行 28: string path = Server.MapPath("Contract_Number.rpt");  rn行 29: //@"D:\DZGJ\Microlink\gzgj\CrystalReport.rpt"rn rnrn源文件: d:\hosting\wwwroot\educ.e-trading.com.cn\gzgj\Contract_Number.aspx.cs 行: 27 rnrn堆栈跟踪: rnrnrn[COMException (0x800736b1): 检索 COM 类工厂中 CLSID 为 11BD5260-15B6-412D-80DB-12BB60B8FE50 的组件时失败,原因是出现以下错误: 800736b1。]rn CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor() +182rnrn[TypeInitializationException: “CrystalDecisions.CrystalReports.Engine.ReportDocument”的类型初始值设定项引发异常。]rn CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor() +0rn Contract_Number.Page_Load(Object sender, EventArgs e) in d:\hosting\wwwroot\educ.e-trading.com.cn\gzgj\Contract_Number.aspx.cs:27rn System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15rn System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +33rn System.Web.UI.Control.OnLoad(EventArgs e) +99rn System.Web.UI.Control.LoadRecursive() +47rn System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436rnrn rnrnrn--------------------------------------------------------------------------------rn版本信息: Microsoft .NET Framework 版本:2.0.50727.1433; ASP.NET 版本:2.0.50727.1433
一个鼠标拖动页面的问题难题!!急!在线等~~~~~
哪位大虾知道怎么做这样一个效果:在一个window.open弹出的页面(并且做了height,width,noresize等控制)里面,用鼠标拖动来浏览页面,不要去拉滚动条!rnrn急,在线等~~~~~
关于页面的重定向问题(在线等)急。。。。。。。。。。。。。
rnResponse.Redirect("WebForm2.aspx");rnServer.Transfer("WebForm2.aspx");rn这两个都是重定向到一个新的页面,他们之间的具体区别是什么?rn
第一次整合SSH,在线等大神
严重: Exception starting filter struts2rnjava.lang.RuntimeException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException - Class: com.opensymphony.xwork2.inject.ContainerBuilder$4rnFile: ContainerBuilder.javarnMethod: creaternLine: 132 - com/opensymphony/xwork2/inject/ContainerBuilder.java:132:-1rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:428)rn at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:69)rn at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:51)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:108)rn at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3693)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4340)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:516)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:566)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rnCaused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetExceptionrn at com.opensymphony.xwork2.inject.ContainerBuilder$4.create(ContainerBuilder.java:132)rn at com.opensymphony.xwork2.inject.Scope$2$1.create(Scope.java:51)rn at com.opensymphony.xwork2.inject.ContainerImpl.getInstance(ContainerImpl.java:507)rn at com.opensymphony.xwork2.inject.ContainerImpl.getInstance(ContainerImpl.java:517)rn at com.opensymphony.xwork2.inject.ContainerImpl$9.call(ContainerImpl.java:548)rn at com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerImpl.java:574)rn at com.opensymphony.xwork2.inject.ContainerImpl.getInstance(ContainerImpl.java:546)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:197)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)rn at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:371)rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:415)rn ... 29 morernCaused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetExceptionrn at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:495)rn at com.opensymphony.xwork2.inject.ContainerImpl$7.call(ContainerImpl.java:532)rn at com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerImpl.java:581)rn at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:530)rn at com.opensymphony.xwork2.config.impl.LocatableFactory.create(LocatableFactory.java:32)rn at com.opensymphony.xwork2.inject.ContainerBuilder$4.create(ContainerBuilder.java:130)rn ... 39 morernCaused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetExceptionrn at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.construct(ContainerImpl.java:440)rn at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:492)rn ... 44 morernCaused by: java.lang.reflect.InvocationTargetExceptionrn at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)rn at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)rn at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)rn at java.lang.reflect.Constructor.newInstance(Constructor.java:513)rn at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.construct(ContainerImpl.java:419)rn ... 45 morernCaused by: java.lang.NoClassDefFoundError: org/apache/commons/lang3/StringUtilsrn at org.apache.struts2.spring.StrutsSpringObjectFactory.(StrutsSpringObjectFactory.java:106)rn ... 50 morernCaused by: java.lang.ClassNotFoundException: org.apache.commons.lang3.StringUtilsrn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)rn at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)rn ... 51 more
关于多窗口页面的一个问题(在线等,急!)
假设一个页面由三个框架组成,frame1, frame2,frame3.如何能让frame3中做一个链接,让它跳转到index.htm这个页面,且该页面占有整个窗口(而不是在frame3框架内).rn 多谢!
关于页面自动跳转到其他页面的问题,急,在线等!
我有这样一个页面,显示正在处理数据,请等待的提示,然后等后台数据处理完成后,自动跳转到其他页面上去,请问该如何实现。是否可以通过线程来控制,这线程又该如何写?
xp进入dos的问题在线急等。
XP系统如何进入纯DOS界面。rn比如开机就进入怎么进入DOS。rn当然不能使用启动盘。
急!!在线等!!! 循环不了
with xszp5_sql dorn beginrn beginrn close();rn SQL.Clear;rn SQL.text:='select * from sqfy';rn open;rn end;rn if xszp5_sql.RecordCount<>0 thenrn beginrn for i:=1 to xszp5_sql.RecordCount do rn beginrn xszp5_sql.RecNo:=i;rn if trim(xszp5_sql.FieldByName('guig').AsString)='YSP-5' thenrn edit1.text:=trim(xszp5_sql.FieldByName('sl0').AsString);rn if trim(xszp5_sql.FieldByName('guig').AsString)='YSP-10' thenrn edit2.text:=trim(xszp5_sql.FieldByName('sl0').AsString);rn endrnrn数据库查明明有两条件记录guig 字段分别为 YSP-5和YSP-10 但就认一条记录,只填S10在edit1rnedit2从不填有数据,是循环不对吗????rnrn
删除不了?? 在线等...急
我做了一个简单的删除功能..但删除不了...rnrn代码如下:rnrn<%rnway=request.QueryString("way")rnno=request.QueryString("no")rn if way=2 thenrn set rs=conn.execute("delete from [client] where no="&no&"")rn set rs=nothingrn end ifrn rn%>rnrn">删除rnrn用连接来删除.. rn很奇怪, 按删除后, 数据没变化.亦删除不了. 但在其它页可以.为什么?rn
子页面的问题????急!!!!!!在线等待
在WebForm编程中,如何从父页面下产生一子页面且此子页面为独占式,不完成子页面工作不能返回父页面。哪位大虾有思路,赶快告诉小弟一下!!!rn
急!在线等候.关于页面的问题。
我用rn rn rn包含三个页面报下面的错。rnThere can be only one 'page' directive.rnLine 1: <%@ Page Language="C#" ContentType="text/html" ResponseEncoding="gb2312" %>rnrn是不是asp.net不行呀。rn还有我在top.aspx里有这句<%@ Page Language="C#" ContentType="text/html" ResponseEncoding="gb2312" %>用到formrn在另外两个页面没用form,用到body.aspx,foot.aspx可以吻密的批合,而top.asp和body.aspx总有块空白不能吻密结合。rnrnrn
关于“打印”页面的问题!!!!急!!!在线!!!
小弟在学struts,做好了一个action页,想在上面加一个“打印”的按钮,可以打印出当前页里生成的面容,不知如果实现;rnrnrn如果这样难不倒大侠们的话,我接着问一下如果我想在另一个页上,点“打印”去生成此页(action页)而不显示,直接出打印对话框直接打印,又应该怎样写呢!!!rnrnrnrn万分感谢!!!
部署maven springmvc 项目一直失败 在线等 跪求大神
信息如下 -rnrn[code=java] - Destroy method on bean with name 'sqlSessionFactory' threw an exceptionrnjava.lang.IllegalStateException: ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: Root WebApplicationContext: startup date [Tue Feb 06 13:16:57 CST 2018]; root of context hierarchyrn at org.springframework.context.support.AbstractApplicationContext.getApplicationEventMulticaster(AbstractApplicationContext.java:404)rn at org.springframework.context.support.ApplicationListenerDetector.postProcessBeforeDestruction(ApplicationListenerDetector.java:97)rn at org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:253)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:578)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:554)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingleton(DefaultListableBeanFactory.java:954)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:523)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingletons(DefaultListableBeanFactory.java:961)rn at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:1033)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:555)rn at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:444)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:326)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4853)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5314)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)rn at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)rn at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)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)rn2018-02-06 13:17:14.873 [localhost-startStop-1] ERROR o.s.web.context.ContextLoader Caller+0 at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:351)rnCaller+1 at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)rn - Context initialization failedrnorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'shiroFilter' defined in class path resource [spring-security.xml]: Cannot resolve reference to bean 'securityManager' while setting bean property 'securityManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityManager' defined in class path resource [spring-security.xml]: Cannot resolve reference to bean 'authenticationRealm' while setting bean property 'realm'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'authenticationRealm': Unsatisfied dependency expressed through field 'adminService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'adminService': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'adminRepository': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Did not find a query class com.mbf.lib.entity.QAdmin for domain class com.mbf.lib.entity.Admin!rn at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)rn at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1486)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1231)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:551)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)rn at org.springframework.context.support.PostProcessorRegistrationDelegate.registerBeanPostProcessors(PostProcessorRegistrationDelegate.java:235)rn at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:702)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:527)rn at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:444)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:326)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4853)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5314)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)rn at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)rn at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)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: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityManager' defined in class path resource [spring-security.xml]: Cannot resolve reference to bean 'authenticationRealm' while setting bean property 'realm'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'authenticationRealm': Unsatisfied dependency expressed through field 'adminService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'adminService': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'adminRepository': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Did not find a query class com.mbf.lib.entity.QAdmin for domain class com.mbf.lib.entity.Admin!rn at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)rn at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1486)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1231)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:551)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)rn at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351)rn ... 24 common frames omitted[/code]
请教大神,急!!!在线等~~
我现在在做一个移动端的自适应网站,现在遇到一个问题,手机的高度不一样,我怎么用代码去实现适应各种不同高度手机屏幕的页面?宽度都没有问题。
在线急等大神求救
简单编写了一个图书馆管理系统,可是运行登录的时候总是显示连接超时求大神解答rn连接服务器处的代码[code=java]Message ms=null;rn private Socket s=null;rn public ConnectServer(Message mes)rn this.ms=mes;rn tryrn s=new Socket("172.0.0.1",8888);//连接服务器,注意服务器IP地址固定rn catch(Exception e)rn e.printStackTrace();rn rn rn /**rn * 发送消息rn */rn public void sendMessage()//发送消息rn tryrn ObjectOutputStream oos=new ObjectOutputStream(s.getOutputStream());rn oos.writeObject(ms);rn oos.flush();rn catch(Exception e)rn e.printStackTrace();rn rn [/code]rn登录处的代码[code=java] Message mes=new Message();rn mes.setFlag(2); //2表示要登录rn ConnectServer cs=new ConnectServer(mes);rn mes.setUserid(Integer.parseInt(itf.getText().trim()));rn mes.setuPass(String.valueOf(ptf.getPassword()).trim());rn cs.sendMessage();rn Message mes1=cs.getMessage();rn if(mes1.isOk())rn new ClientMain(Integer.parseInt(itf.getText().trim())).setVisible(true);rn this.dispose();rn elsern JOptionPane.showMessageDialog(this,rn "帐号或者密码错误!");rn rn [/code]rn错误提示rnjava.net.ConnectException: Connection timed out: connectrn at java.net.TwoStacksPlainSocketImpl.socketConnect(Native Method)rn at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)rn at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)rn 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 java.net.Socket.(Unknown Source)rn at java.net.Socket.(Unknown Source)rn at com.iotek.dao.impl.ConnectServer.(ConnectServer.java:16)rn at com.iotek.view.BookClientLogin.actionPerformed(BookClientLogin.java:104)rn上面2出位置就是上面的代码求大神解答
asp.net使用datalist到指定页面的问题 在线等呀
在asp.net使用DATALIST中使用hyperlink如何到指定页面中呢。rnrnrn怎么也不行,只能使用navigateurl='<%# eval("")%>'的方式。
第一次使用CISCO 2600,遇棘手问题,急!!!!!!在线等
在此之前,2600运行正常,昨天,公司的办公室搬迁,随之,路由器也要搬过去,问题就出在这,搬过去之后,就无法正常工作了,
webLogic部署问题 急 在线等
ential could not be read successfully.>rn***************************************************************************rnThe WebLogic Server did not start up properly.rnException raised: 'weblogic.management.configuration.ConfigurationException: [Cornnfiguration Management:150029]There was an error reading the MBean mydomain:Namern=mydomain,Type=EmbeddedLDAP. The value 3DESD6Rs+gbK/rLLdjPNmTMam6cJQnQqRy+1+LFrnC2oRwYrk= for attribute Credential could not be read successfully.'rnReason: weblogic.management.configuration.ConfigurationException: [Configurationrn Management:150029]There was an error reading the MBean mydomain:Name=mydomain,Trnype=EmbeddedLDAP. The value 3DESD6Rs+gbK/rLLdjPNmTMam6cJQnQqRy+1+LFC2oRwYrk= frnor attribute Credential could not be read successfully.rn***************************************************************************rnrnrn什么原因 怎么修改 help
WebSphere部署问题(在线等,急!)
我在本机安装了WBS6.0,JDBC和数据源已经配好,可以连接数据源,但是在部署ear包时(含有ejb),最后完成一步出错。主要错误如下:rnrnError executing deployment: java.lang.ClassCastException. Error is com.ibm.etools.j2ee.commonarchivecore.impl.FileImpl. rn rn WBS版本为6.0.0.1,后来升级至6.0.2.0,再次部署时,会出现如下的错误:rn rnjava.lang.ClassCastException: com/ibm/etools/j2ee/commonarchivecore/impl/FileImpl incompatible with com/ibm/etools/j2ee/commonarchivecore/Archive rnrn请大虾解答!!rnrnMSN:zhouan_01@sina.comrnrn
.NET部署问题急急急!在线等
请问如何讲自己写好的.NET项目上传到虚拟空间?是否可以直接把所有东西传过去就行了?rnrn我把所有文件都传过去访问时发生如下错误 请问是什么原因rn他说这句错误rn行 1: <%@ Page language="c#" Codebehind="login.aspx.cs" AutoEventWireup="false" Inherits="Seal.login" %>rn
VS2005部署问题,在线等,急
问题:用vs2005自带的打包程序进行安装部署,要在安装过程结束时有两个复选框,一个为“查看自述文件”,一个为“现在启动**程序”,安装结束后会根据选择做出相应的反应,请问各位专家怎么做,我研究两天了,还是不知道怎么写?请大家指导rnrn附:目前我准备在用户界面中添加一个复选框进行操作,但是复选框中的属性怎么设置,要写哪些代码才能触发上面的两个事件呢?
delph7Midas+Oracle8i三层的部署问题,急,在线等~~
机器上装了Oracle8i服务器版,无Delphi7(部署嘛)。rn客户端注册了midas.dllrn中间层应用服务器(DbExpress开发)的winnt\system32中放了oci.dll、dbexpora.dllrn开了scktsrvr.exernrn可是运行客户端,中间层都没有弹出来(自动激活运行)就报错:rn---------------------------rnDAX Errorrn---------------------------rnORA-12154: TNS: 无法处理服务名.rn---------------------------rn确定 rn---------------------------rnrn请问是问题出在哪里:rn少了.dll?rn中间层配置错了数据库服务名?rn还是其他
在线急等:PHP使用列表框出错
请各位大虾,帮我看看,源代码如下:rnrnrnrnrn rn 无标题文档rn rnrnrnrn rn  rn        rn rn          Web 开发技术与开发工具rn rn rn rn     技术:rn rn rn ASPrn JSPrn PHPrn ASP.NETrn rn rn rn        工具:rn rn Dreamweaverrn VisualStudiorn Eclipsern Delphi for phprn rn rn rn rn rn rn rn       rn rn     rn    rn rn       rn rnrn你选择的开发技术是: \n";rn echo "$_POST["1stWebTech"] \n";rn $str="";rn [color=#FF0000]foreach ($_POST["1stDevTool"] as $value)[/color] $str.="☆$value \n";rn echo " 你选择的开发工具是: \n"; rn echo "$str\n";rn ?>rn                rnrnrnrn系统提示红色部分有错,rnWarning:Invalid argument supplied for foreach() in C:\wamp\www\page5-05.phprnrn急用,有谁在线吗rn
MVC部署问题!急!急!急!急!在线等!!!!!!
在部署MVC Web项目时,出现以下错误:rn“从索引 0 处开始,初始化字符串的格式不符合规范。”rnrn在网上找了一些资料,基本上都说是因为数据库连接所致,但是在VS里运行的时候是正常的,请问该怎么解决啊?!rn
急~~~ 在线等 关于windows下的SSH项目到Linux下出现的问题
javax.servlet.ServletException: Cannot find ActionMappings or ActionFormBeans collectionrn org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:825)rn org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:758)rn org.apache.jsp.index_jsp._jspService(index_jsp.java:99)rn org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:802)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:802)rnrnrnroot cause rnrnjavax.servlet.jsp.JspException: Cannot find ActionMappings or ActionFormBeans collectionrn org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:747)rn org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:443)rn org.apache.jsp.index_jsp._jspx_meth_html_form_0(index_jsp.java:116)rn org.apache.jsp.index_jsp._jspService(index_jsp.java:89)rn org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:802)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:802)rnrn
关于php页面的问题
关于页面特效的问题, 就是把页面特效去掉.rnrn想要分联系我,解决问题才给分, qq: 347385728
php页面的显示问题
我下载了一些源码rn但显示的时候,总有这样的情况出现rnNotice: Undefined index: page in d:\usr\www\html\ly\list.php on line 14rn我知道这是变量没声明,rnrn请问大家如何处理这样的问题啊??能解决给高分
php得到来源页面的url,在线等
php得到来源页面的urlrn比如,a.php的页面含有b.php的链接,用户从a.php页面进了b.php页面,现要得到b.php页面的来源页面a.php,rn怎么得到呀,rnthanks..
相关热词 c# xml的遍历循环 c# 取 查看源码没有的 c#解决高并发 委托 c#日期转化为字符串 c# 显示问号 c# 字典对象池 c#5.0 安装程序 c# 分页算法 c# gmail 发邮件 c# 多层文件