启动swagger-editor后无法访问网页,请问怎么处理,搞了半天了?

启动swagger-editor后无法访问网页,请问怎么处理,搞了半天了?
图片说明
图片说明
图片说明

1个回答

您好 请问一下您这个问题解决了吗

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
swagger-editor
前端和后端的唯一联系,变成了 `API接口`;API 文档变成了前后端开发人员联系的纽带,变得越来越重要,`swagger`就是一款让你更好的书写 API 文档的框架。
odoo12+win7+postgresql10 安装启动,网页无法访问。
odoo12+win7+postgresql10 安装启动,网页无法访问 原因: 本机虚拟机中,Ubuntu上装了odoo8, 所以8069的端口已占用。需要改一下win7上odoo12的启动端口。 修改文件odoo.conf xmlrpc_port=8088 ——8069 改成8088 再启动就ok了 ...
网上邻居无法访问.怎么处理.
我打开网上邻居,点击查看工作组计算机,它就无法进去了.显示:Workgroup无法访问,你可能没有权限使用网络资源.请与这台服务器的管理员联系以查明你是否有访问权限.此工作组的服务器列表当前无法使用. rn rn 请大虾帮帮忙.
weblogic启动后无法访问控制台
以下是启动WebLogic的日志,但是无法访问133.96.26.87:7001/consolernrnrn.rnCLASSPATH=/bea/bea/jdk142_11/lib/tools.jar:/bea/bea/weblogic81/server/lib/weblogic_sp.jar:/bea/bea/weblogic81/server/lib/weblogic.jar::/bea/bea/weblogic81/common/eval/pointbase/lib/pbserver44.jar:/bea/bea/weblogic81/common/eval/pointbase/lib/pbclient44.jar:/bea/bea/jdk142_11/jre/lib/rt.jar:/bea/bea/weblogic81/server/lib/webservices.jar:.:/usr/java/jdk1.5.0_22/lib/tools.jar:/usr/java/jdk1.5.0_22/lib/dt.jar:/usr/java/jdk1.5.0_22/librn.rnPATH=/bea/bea/weblogic81/server/bin:/bea/bea/jdk142_11/jre/bin:/bea/bea/jdk142_11/bin:/usr/java/jdk1.5.0_22/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/bea/binrn.rn***************************************************rn* To start WebLogic Server, use a username and *rn* password assigned to an admin-level user. For *rn* server administration, use the WebLogic Server *rn* console at http://[hostname]:[port]/console *rn***************************************************rn rn rn rn rn rn rn rn rn rn rn
IDEA启动web项目后无法访问
自己用eclipse搭了一个springMVC框架的web项目,后来转到idea上开发,发现启动后无法访问,查看启动日志有url映射,但访问的时候却报:No mapping found for HTTP request with URI [xxxx] in DispatcherServlet 没有该映射。后来发现是tomcat配置那里的应用上下文没配好,eclipse默认是localhost:80...
workerman-chat启动后,前台无法访问
去阿里云的安全组,添加规则:55151和7272
tomcat启动后无法访问localhost
2011-10-10 16:12:08 org.apache.catalina.core.AprLifecycleListener initrn信息: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: E:\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\bin;C:\apache-tomcat-6.0.14\binrn2011-10-10 16:12:08 org.apache.coyote.http11.Http11Protocol initrn严重: Error initializing endpointrnjava.net.SocketException: Unrecognized Windows Sockets error: 0: JVM_Bindrn at java.net.PlainSocketImpl.socketBind(Native Method)rn at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)rn at java.net.ServerSocket.bind(ServerSocket.java:319)rn at java.net.ServerSocket.(ServerSocket.java:185)rn at java.net.ServerSocket.(ServerSocket.java:141)rn at org.apache.tomcat.util.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFactory.java:50)rn at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:496)rn at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:177)rn at org.apache.catalina.connector.Connector.initialize(Connector.java:1059)rn at org.apache.catalina.core.StandardService.initialize(StandardService.java:677)rn at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:792)rn at org.apache.catalina.startup.Catalina.load(Catalina.java:518)rn at org.apache.catalina.startup.Catalina.load(Catalina.java:538)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.load(Bootstrap.java:260)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)rn2011-10-10 16:12:08 org.apache.catalina.startup.Catalina loadrn严重: Catalina.startrnLifecycleException: Protocol handler initialization failed: java.net.SocketException: Unrecognized Windows Sockets error: 0: JVM_Bindrn at org.apache.catalina.connector.Connector.initialize(Connector.java:1061)rn at org.apache.catalina.core.StandardService.initialize(StandardService.java:677)rn at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:792)rn at org.apache.catalina.startup.Catalina.load(Catalina.java:518)rn at org.apache.catalina.startup.Catalina.load(Catalina.java:538)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.load(Bootstrap.java:260)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)rn2011-10-10 16:12:08 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 453 msrn2011-10-10 16:12:08 org.apache.catalina.core.StandardService startrn信息: Starting service Catalinarn2011-10-10 16:12:08 org.apache.catalina.core.StandardEngine startrn信息: Starting Servlet Engine: Apache Tomcat/6.0.14rn2011-10-10 16:12:09 org.apache.catalina.core.ApplicationContext logrn信息: ContextListener: contextInitialized()rn2011-10-10 16:12:09 org.apache.catalina.core.ApplicationContext logrn信息: SessionListener: contextInitialized()rn2011-10-10 16:12:10 org.apache.coyote.http11.Http11Protocol startrn严重: Error starting endpointrnjava.net.SocketException: Unrecognized Windows Sockets error: 0: JVM_Bindrn at java.net.PlainSocketImpl.socketBind(Native Method)rn at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)rn at java.net.ServerSocket.bind(ServerSocket.java:319)rn at java.net.ServerSocket.(ServerSocket.java:185)rn at java.net.ServerSocket.(ServerSocket.java:141)rn at org.apache.tomcat.util.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFactory.java:50)rn at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:496)rn at org.apache.tomcat.util.net.JIoEndpoint.start(JIoEndpoint.java:515)rn at org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:204)rn at org.apache.catalina.connector.Connector.start(Connector.java:1132)rn at org.apache.catalina.core.StandardService.start(StandardService.java:531)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)rn2011-10-10 16:12:10 org.apache.catalina.startup.Catalina startrn严重: Catalina.start: rnLifecycleException: service.getName(): "Catalina"; Protocol handler start failed: java.net.SocketException: Unrecognized Windows Sockets error: 0: JVM_Bindrn at org.apache.catalina.connector.Connector.start(Connector.java:1139)rn at org.apache.catalina.core.StandardService.start(StandardService.java:531)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)rn2011-10-10 16:12:10 org.apache.catalina.startup.Catalina startrn信息: Server startup in 1498 msrn
Swagger-Editor开发环境搭建
前言        上一篇文章我们有提到Swagger做接口的定义是采用yaml语言的,当然,yaml是个啥,大家自行百度。阿福在此不做赘述了。但是,今天我们要来讲的是yaml支持比较好的Swagger-Editor开发环境的搭建。环境准备        实际上,Swagger-Editor是基于 NodeJs 开发的,那么,就一定是需要Node的开发环境的啦!安装最新版的Node。直接去到Node
关于python中phantomjs无法访问网页的处理
笔者使用的系统是linux ubuntu,最近在学习爬虫的过程中遇到了一个抓狂的问题,我尝试使用selenium加phantomjs来登陆网页的时候,Pythony一直提示selenium无法找到元素,不管我怎样修改定位的方法,永远出现No such elements的错误,让我几乎抓狂。再确认了测试了好几遍编写的代码后,我将程序出现的错误定位在了其中这几行代码里面 >>>...
无法访问网页?
本机安装winme操作系统,可以ping通服务器,可以在网上邻居上看到局域网其他机子,网关设置正确。rnrn但不能访问win2000服务器的提供的网页服务。打开ie显示很慢后死机。rn请问如何解决?谢谢!
网页无法访问
我在用Java程序抓取环球资源网网站中的数据时,抓到一定的程度网站无法访问,数据也不能抓,程序也随之停止运行。有什么方法可以禁止因为抓取了该网站的内容而把本机的IP封掉。谢谢rnIp被封后打开网页的图片如下:rn[img=http://hi.csdn.net/attachment/201012/20/187170_1292817161TdF4.jpg][/img]
网页无法访问!
项目在服务器跑了一段时间了。运行正常。但是这几天出了一个新问题;就是经常会出现“您指定的网页无法访问! 错误类型:连接失败”;然而域名ping没有问题。rnrn我访问首页;因为这个属于一个门户网站;图片比较多;同时首页是静态的html文件;在项目的根目录下。访问这些静态html文件都会出现 网页无法访问的结果;然而只要一刷新就会好了。还有;页面加载出来后;可能有些样式通过路径没有加载出来;页面变乱;也有时候是图片没有加载出来;然而这些情况多刷新几次就好了;rn主要ping的服务器IP也没有太多啥的问题。链接都比较正常。所以我想请大神们帮我想想是什么原因引起这些问题的出现;我已经用了2台服务器了;第一胎也出现这种情况;第二台稳定了一段时间后,今天又出现了。rnrnrn 如能恢复解决;或者发现问题存在的原因;感激不尽。
使用ubuntu启动tomcat后无法访问8080
今天在电脑上安装linux虚拟机(ubuntu),把系统配置好,安装完成jdk和tomcat之后,切换到root用户下,启动tomcat,sh startup.sh,tomcat启动成功,netstat查看端口8080监听。但是主机浏览器再访问http:192.168.19.128:8080时发现访问不了,但是在虚拟机上可以正常看到tom猫,下面把这类问题总结了下,定位思路如下: 1,是否为服务...
linux安装启动tomcat后浏览器无法访问
linux安装jdk:http://blog.csdn.net/kang123488/article/details/78334697 linux安装tomcat:http://blog.csdn.net/kang123488/article/details/78336426 我的服务器上的tomcat已经正常启动了,可是浏览器上依旧没有能够访问到tomcat的首页,我看了下是否是防火
tomcat 启动后访问数据库 无法访问mysql
ubuntu系统下 tomcat 启动后 访问数据库报错:rnrnorg.springframework.transaction.CannotCreateTransactionException: Could not open JDBC Connection for transaction; nested exception is java.sql.SQLException: Cannot create PoolableConnectionFactory (Client does not support authentication protocol requested by server; consider upgrading MySQL client)rnat org.springframework.jdbc.datasource.DataSourceTransactionManager.doBegin(DataSourceTransactionManager.java:245)rnat org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:373)rnat org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:463)rnat org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:276)rnat org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)rnat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)rnat org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:653)rnat ydh.user.service.UserService$$EnhancerBySpringCGLIB$$17a0c49.listMenu()rnat ydh.user.menu.MenuManager.loadData(MenuManager.java:41)rnat ydh.user.menu.MenuManager.get(MenuManager.java:33)rnat ydh.admin.MainLayoutImpl.layout(MainLayoutImpl.java:29)rnat ydh.admin.controller.MainController.main(MainController.java:19)rnat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rnat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)rnat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)rnat java.lang.reflect.Method.invoke(Method.java:498)rnat org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:221)rnat org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:137)rnat org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:110)rnat org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:776)rnat org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:705)rnat org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)rnat org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:959)rnat org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893)rnat org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:966)rnat org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:857)rnat javax.servlet.http.HttpServlet.service(HttpServlet.java:635)rnat org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:842)rnat javax.servlet.http.HttpServlet.service(HttpServlet.java:742)rnat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)rnat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)rnat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)rnat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)rnat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)rnat org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)rnat org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)rnat org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)rnat org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)rnat org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)rnat org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)rnat org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)rnat org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)rnat org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)rnat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)rnat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)rnat org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:85)rnat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)rnat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)rnat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)rnat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)rnat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)rnat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478)rnat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)rnat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80)rnat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:624)rnat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)rnat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)rnat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:799)rnat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)rnat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)rnat org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1455)rnat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)rnat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)rnat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)rnat org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)rnat java.lang.Thread.run(Thread.java:748)rnCaused by: java.sql.SQLException: Cannot create PoolableConnectionFactory (Client does not support authentication protocol requested by server; consider upgrading MySQL client)rnat org.apache.tomcat.dbcp.dbcp2.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:2303)rnat org.apache.tomcat.dbcp.dbcp2.BasicDataSource.createDataSource(BasicDataSource.java:2043)rnat org.apache.tomcat.dbcp.dbcp2.BasicDataSource.getConnection(BasicDataSource.java:1543)rnat org.springframework.jdbc.datasource.DataSourceTransactionManager.doBegin(DataSourceTransactionManager.java:204)rn... 65 morernCaused by: com.mysql.jdbc.exceptions.MySQLNonTransientConnectionException: Client does not support authentication protocol requested by server; consider upgrading MySQL clientrnat com.mysql.jdbc.SQLError.createSQLException(SQLError.java:921)rnat com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2985)rnat com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:885)rnat com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:3421)rnat com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1247)rnat com.mysql.jdbc.Connection.createNewIO(Connection.java:2775)rnat com.mysql.jdbc.Connection.(Connection.java:1555)rnat com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:285)rnat org.apache.tomcat.dbcp.dbcp2.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38)rnat org.apache.tomcat.dbcp.dbcp2.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:257)rnat org.apache.tomcat.dbcp.dbcp2.BasicDataSource.validateConnectionFactory(BasicDataSource.java:2313)rnat org.apache.tomcat.dbcp.dbcp2.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:2299)rn... 68 morernrn 求大神们帮忙解决下,麻烦了。
jboss启动后其他地址无法访问
问题描述:jboss在服务器正常启动后,其他客户端无法正常访问,只能本地访问 原因是:jboss 端口的监听地址是本地,把address修改为下面的0.0.0.0即可 另保存防火墙启动停止命令: (1)重启后永久性生效: 开启:chkconfig iptables on 关闭:chkconfig iptables off (2) 即时生...
phpstudy正常启动后虚拟目录无法访问Forbidden
允许目录列表后就可以访问虚拟目录啦。
SpirngBoot执行启动类后无法访问
解决方法: 1、启动类需要放在根目录,如controller的目录为com.demo.controller下,那么启动类需要放到com.demo下执行,最后解决问题。
求助。myeclipse启动的项目后无法访问
使用myeclipse启动项目后。局域网内能访问。但是在后台点击的时候出现404的错误是什么原因。。本人在本人机器上无任何问题!!!
网页错误:缺少对象 请问怎么处理?!
源代码如下:rnrn rn rnrnrnrnsdfsfsfsd rn rnname:rnrnrnrnrn麻烦高人指点一下!
Ubuntu下安装Tomcat后,网页无法访问的问题
已经安装好JAVA和TomcatrnTomcat的catalina.sh里已经加入了JAVA HOME配置,启动startup.sh后,JRE_HOME显示正确。rnserver.xml里端口是8005。rnrn之后网页访问xxx.xxx.xxx.xxx:8005,提示网页无法显示,哪步错了?
上传后的网页 带数据的页面无法访问
RTRTRTrnrn数据库是2005rnrn现在几个不带数据显示和交流的网页都能正常显示rn但是遇到要用数据的网页 浏览器在与网络交流N久后 显示如下信息。 但是如果用本地链接远程数据库 运行网页却能显示 请问原因rn/*********************************/rn无法找到该页rn您正在搜索的页面可能已经删除、更名或暂时不可用。rnrn请尝试以下操作:rnrn * 确保浏览器的地址栏中显示的网站地址的拼写和格式正确无误。rn * 如果通过单击链接而到达了该网页,请与网站管理员联系,通知他们该链接的格式不正确。rn * 单击后退按钮尝试另一个链接。rnrnHTTP 错误 404 - 文件或目录未找到。rnInternet 信息服务 (IIS)rnrn技术信息(为技术支持人员提供)rnrn * 转到 Microsoft 产品支持服务并搜索包括“HTTP”和“404”的标题。rn * 打开“IIS 帮助”(可在 IIS 管理器 (inetmgr) 中访问),然后搜索标题为“网站设置”、“常规管理任务”和“关于自定义错误消息”的主题。rn/*********************************/rnrnrn
点击按钮提交后网页无法访问
刚做了个页面,在本地测试正常,但上传到服务器点击提交后提示"您指定的网页无法访问! ",不知道原因在哪,各位大虾帮忙看下,这代码有何问题,有哪些地方需要改进的,为啥会出现这样的问题.rn测试地址:[url=http://www.phhui.cn]http://www.phhui.cn[/url]rnprotected void Button1_Click(object sender, EventArgs e)rn rn string pic1, pic2, pic3;rn if (tbusername.Text.Trim().Length < 1)rn rn Label1.Text = "User Name can not blank!";rn rn else if (tbaddress.Text.Trim().Length < 1)rn rn Label1.Text = "Address can not blank!";rn rn else if (tbphonenumber.Text.Trim().Length < 1)rn rn Label1.Text = "Phone Number can not blank!";rn rn else if (tbemail.Text.Trim().Length < 1)rn rn Label1.Text = "Email Address can not blank!";rn rn else if (!tbemail.Text.Contains("@"))rn rn Label1.Text = "Email mode mistake!";rn rn else if (tbschoolname.Text.Trim().Length < 1)rn rn Label1.Text = "School Name can not blank!";rn rn else if (tbyearinschool.Text.Trim().Length < 1)rn rn Label1.Text = "Year In School can not blank!";rn rn else if (tbgpa.Text.Trim().Length < 1)rn rn Label1.Text = "GPA can not blank!";rn rn else if (tbheight.Text.Trim().Length < 1)rn rn Label1.Text = "Height can not blank!";rn rn else if (tbdress.Text.Trim().Length < 1)rn rn Label1.Text = "Dress Size for lafee can not blank!";rn rn else if (FileUpload1.FileName.Trim().Length < 4 && FileUpload2.FileName.Trim().Length < 4 && FileUpload3.FileName.Trim().Length < 4)rn rn Label1.Text = "Please choose to upload photo!";rn rn else if (FileUpload1.FileName.Trim().Length > 4 && !FileUpload1.FileName.Substring(FileUpload1.FileName.Length - 4).Contains("jpg") && !FileUpload1.FileName.Substring(FileUpload1.FileName.Length - 4).Contains("jpeg") && !FileUpload1.FileName.Substring(FileUpload1.FileName.Length - 4).Contains("Jpg") && !FileUpload1.FileName.Substring(FileUpload1.FileName.Length - 4).Contains("Jpeg") && !FileUpload1.FileName.Substring(FileUpload1.FileName.Length - 4).Contains("JPG") && !FileUpload1.FileName.Substring(FileUpload1.FileName.Length - 4).Contains("JPEG") && !FileUpload1.FileName.Substring(FileUpload1.FileName.Length - 4).Contains("gif") && !FileUpload1.FileName.Substring(FileUpload1.FileName.Length - 4).Contains("bmp") && !FileUpload1.FileName.Substring(FileUpload1.FileName.Length - 4).Contains("GIF") && !FileUpload1.FileName.Substring(FileUpload1.FileName.Length - 4).Contains("BMP"))rn rn Label1.Text = "Photo mode mistake!";rn rn else if (FileUpload2.FileName.Trim().Length > 4 && !FileUpload2.FileName.Substring(FileUpload2.FileName.Length - 4).Contains("jpg") && !FileUpload2.FileName.Substring(FileUpload2.FileName.Length - 4).Contains("jpeg") && !FileUpload2.FileName.Substring(FileUpload2.FileName.Length - 4).Contains("Jpg") && !FileUpload2.FileName.Substring(FileUpload2.FileName.Length - 4).Contains("Jpeg") && !FileUpload2.FileName.Substring(FileUpload2.FileName.Length - 4).Contains("JPG") && !FileUpload2.FileName.Substring(FileUpload2.FileName.Length - 4).Contains("JPEG") && !FileUpload2.FileName.Substring(FileUpload2.FileName.Length - 4).Contains("gif") && !FileUpload2.FileName.Substring(FileUpload2.FileName.Length - 4).Contains("bmp") && !FileUpload2.FileName.Substring(FileUpload2.FileName.Length - 4).Contains("GIF") && !FileUpload2.FileName.Substring(FileUpload2.FileName.Length - 4).Contains("BMP"))rn rn Label1.Text = "Photo mode mistake!";rn rn else if (FileUpload3.FileName.Trim().Length > 4 && !FileUpload3.FileName.Substring(FileUpload3.FileName.Length - 4).Contains("jpg") && !FileUpload3.FileName.Substring(FileUpload3.FileName.Length - 4).Contains("jpeg") && !FileUpload3.FileName.Substring(FileUpload3.FileName.Length - 4).Contains("Jpg") && !FileUpload3.FileName.Substring(FileUpload3.FileName.Length - 4).Contains("Jpeg") && !FileUpload3.FileName.Substring(FileUpload3.FileName.Length - 4).Contains("JPG") && !FileUpload3.FileName.Substring(FileUpload3.FileName.Length - 4).Contains("JPEG") && !FileUpload3.FileName.Substring(FileUpload3.FileName.Length - 4).Contains("gif") && !FileUpload3.FileName.Substring(FileUpload3.FileName.Length - 4).Contains("bmp") && !FileUpload3.FileName.Substring(FileUpload3.FileName.Length - 4).Contains("GIF") && !FileUpload3.FileName.Substring(FileUpload3.FileName.Length - 4).Contains("BMP"))rn rn Label1.Text = "Photo mode mistake!";rn rn elsern rn string con = AccessHelper.conn;rn stringreplace str = new stringreplace();rn string sql = "select id from phhui_misslafee where phhui_Emailaddress='" + str.gl(tbemail.Text.Trim()) + "'";rn if (AccessHelper.ExecuteReader(con, sql).HasRows == true)rn rn Label1.Text = "This Email already exists!";rn rn elsern rn string img = tbmessage.Text;rn if (tbmessage.Text.Trim().Length < 1)rn rn img = null;rn rn if (FileUpload1.FileName.Trim().Length > 4)rn rn pic1 = DateTime.Now.Year.ToString() + DateTime.Now.Month.ToString() + DateTime.Now.Day.ToString() + DateTime.Now.Hour.ToString() + DateTime.Now.Minute.ToString() + DateTime.Now.Second.ToString() + "a.jpg";rn FileUpload1.PostedFile.SaveAs(Server.MapPath("~/FileSystem") + @"\" + pic1);rn rn elsern rn pic1 = null;rn rn if (FileUpload2.FileName.Trim().Length > 4)rn rn pic2 = DateTime.Now.Year.ToString() + DateTime.Now.Month.ToString() + DateTime.Now.Day.ToString() + DateTime.Now.Hour.ToString() + DateTime.Now.Minute.ToString() + DateTime.Now.Second.ToString() + "b.jpg";rn FileUpload2.PostedFile.SaveAs(Server.MapPath("~/FileSystem") + @"\" + pic2);rn rn elsern rn pic2 = null;rn rn if (FileUpload3.FileName.Trim().Length > 4)rn rn pic3 = DateTime.Now.Year.ToString() + DateTime.Now.Month.ToString() + DateTime.Now.Day.ToString() + DateTime.Now.Hour.ToString() + DateTime.Now.Minute.ToString() + DateTime.Now.Second.ToString() + "c.jpg";rn FileUpload3.PostedFile.SaveAs(Server.MapPath("~/FileSystem") + @"\" + pic3);rn rn elsern rn pic3 = null;rn rn sql = "insert into phhui_misslafee (";rn sql += "phhui_Username,phhui_Address,phhui_Phonenumber,phhui_Emailaddress,phhui_Schoolname,";rn sql += "phhui_Yearinschool,phhui_Gpa,phhui_Height,phhui_Dress,phhui_Message,phhui_Pic1,phhui_Pic2,phhui_Pic3";rn sql += ") values ('";rn sql += str.gl(tbusername.Text) + "','";rn sql += str.gl(tbaddress.Text) + "','";rn sql += str.gl(tbphonenumber.Text) + "','";rn sql += str.gl(tbemail.Text) + "','";rn sql += str.gl(tbschoolname.Text) + "','";rn sql += str.gl(tbyearinschool.Text) + "','";rn sql += str.gl(tbgpa.Text) + "','";rn sql += str.gl(tbheight.Text) + "','";rn sql += str.gl(tbdress.Text) + "','";rn sql += str.gl(img) + "','";rn sql += pic1 + "','";rn sql += pic2 + "','";rn sql += pic3 + "')";rn if (AccessHelper.ExecuteNonQuery(con, sql) != -1)rn rn Label1.Text = "Submit Successfull!";rn rn elsern rn Label1.Text = "Submit failure, please contact the administrator or try again later!";rn rn rn rn
设置了session后无法访问网页,求解答!
我在winxp环境下 用.net2005开发,运行无任何异常rnrn把原文件拷贝到 win2003下运行rnrn在登陆页面登陆以后,无法跳转到主页面,网页下面的蓝色进度条一直在走,很慢。rnrn之后打开主页面的Default.aspx.cs代码rn将page_load 里面的:rnrnif (session["type"].tostring()==1])rnrnrnresponse.redirect("../Default.aspx")rnrn代码删除掉,网页访问正常。rnrn怀疑,登陆页面的session["type"]值没有传过来rnrn如何解决?请大家帮忙
网站使用SSL后,无法访问网页
对整个虚拟目录都使用了SSL,具体是在虚拟目录——属性——目录安全性——安全通讯里,选中了“使用安全通道(SSL)”,但不选中要求128位加密,同时也不要求使用客户端证书。rn 然后通过https协议(https://localhost/jbsearch,jbsearch是虚拟目录名)访问网页时却不能访问了,浏览器的设置已经选中了SSL 2.0、SSL 3.0、TLS 1.0,但找不到PCT1.0。rn 不知道如何解决这个问题。rn 另:如果我只是希望对此虚拟目录的登录页面进行加密,而不是对整个虚拟目录都加密,那我应该如何设置?
apache运行一段时间后,网页无法访问
网站正常运行一段时间就再打不开了。重启apache则又能访问。自从装完Apache后就一直这样,郁闷rnrnapache 2.2.4rnphp 5.2.4rnmysql 5 rnwinserver2003
怎么处理搜索到的网页
我已经做了个搜索引擎,我想把搜索到的网页上的各种图片和flash都去除.就只剩下跟我的关键字有关的文字内容.rn请问我可以用什么方式处理?有什么资料?rn谢谢rn
怎么处理动态生成的网页
rnrnrn rnrn rn rnrn<% rn dim rsrn dim cmdrn dim irn set rs=server.CreateObject("adodb.recordset") rn set rs=conn.execute("select * from one_choice")rn rs.movefirstrnrn%>rnrnrnrn<% rn while not rs.eofrn i=i+1rn%>rn 1.<%=rs("title") %>rn rn rn value="0">rn A. <%=rs("txtA") %> rn  rn value="1">rn B. <%=rs("txtB") %> rn   rn type="radio" value="2"> rn C. <%=rs("txtC") %> rn  rn type="radio" value="3">rn D. <%=rs("txtD") %> rn   rn style="display:none">     解题结果: rn rn style="display:none">     解题结果: rn rn<% rnrs.movenextrnwendrnrn %>rnrn rn rn rn rnrnrnrnrnrnrn在这段代码里,单选的NAME是动态生成的,在SUBMIT按钮里如何获得单选的checked属性rn
请问在GetCommandLine()后怎么处理得到的命令行参数?
怎么样处理获得的字符串?rn怎么把参数从里面提取出来?rn有什么好的方法么?
tomcat启动后 打不开网页
安装了tomcat jdk 等,配置好/etc/profile,./startup.sh 无报错,能正常启动. rn客户端输入http://IP:8080 无法打开欢迎页面。(Internet Explorer 无法显示该网页)修改成8081,也打不开。rn重启tomcat ./shutdown.sh 前4行正确,最后一行 “错误:找不到或无法加载主类org.apache.catalina.startup.bootstrap” rn再重启tomcat,查netstat 发现没有java进程.也没有监听修改后的8081rn请问要如何解决。
请问数组越界后的处理
int s;rnint x[5];rnfor(s=0;s<=5;s++)rnrn x[s] = 2*s;rn printf("%d: s:%d\n",s,x[s]);rnrnrn执行完成过后s变为11,请各位帮忙分析一下,谢谢
SQL 语句双引号怎么处理?搞了半天没弄懂这个
string sql =@"select P.FID as 商品编号,substring(P.FBarcode,1,12) AS 商品条码, substring(concat(trim(case when FUseSName = 1 then FSName else FSName1 end),trim(FSpec)),1,40) AS 商品名称,substring(trim(ifnull(ss.FValue,[color=#FF0000]""[/color])),1,2) as 商品单位,ifnull(P.FOutPrice,0) as 售价,ifnull(P.FInPrice,0) AS 进价,ifnull(P.FMemberPrice, 0) as 会员价,ifnull(S.FNum, 0) as 库存,ifnull(PS.FOperat,0) AS 状态 ,ifnull(P.FInfo,[color=#FF0000]""[/color]) as 商品信息 from Product P Left Join systype ss on ss.FTypeName='ProdUnit' and ss.FItemID=p.FUnit Left Join Stock S on P.FID=S.FProdID and S.FStockID=2 Left Join ProdShop PS on PS.FProdID=P.FID and PS.FStockID=2 where P.FState<100 order by P.FBarcode";rnrnrnrnrnrnSQL语句没有错,在MYSQL数据库中能正常执行
centos启动activeMQ无法访问
执行activeMQ启动命令后,打印无异常,访问http://ipaddress:8161/admin无法访问查看activeMQ日志如下:java.lang.IllegalStateException: LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the con...
eclipse启动tomcat无法访问
今天在写个测试servlet时,发现eclipse中tomcat启动正常,但是不能访问。关掉eclipse的tomcat,去双击startup.bat启动,在浏览器中访问http://localhost:8080/正常原因eclipse将tomcat的项目发布目录(tomcat目录中的webapps)重定向解决重新配置eclipse的tomcat 双击黄色标记的tomcat,打开配置 需
tomcate启动成功,无法访问
在官网下载tomcat6.0.20这个版本,并解压,然后在eclipse for j2ee中配置tomcat,启动后报:rnThe APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.libraryrnrn解决方法是下载tcnative-1.dll放到jdk/bin目录下,然后重启(下面是启动信息),没报上面的错误,启动正常,但无法访问tomcat首页,提示404错误!rn[code=Java]rn2012-6-3 13:01:22 org.apache.catalina.core.AprLifecycleListener initrn信息: Loaded APR based Apache Tomcat Native library 1.1.10.rn2012-6-3 13:01:22 org.apache.catalina.core.AprLifecycleListener initrn信息: APR capabilities: IPv6 [false], sendfile [true], accept filters [false], random [true].rn2012-6-3 13:01:22 org.apache.coyote.http11.Http11AprProtocol initrn信息: Initializing Coyote HTTP/1.1 on http-8080rn2012-6-3 13:01:22 org.apache.coyote.ajp.AjpAprProtocol initrn信息: Initializing Coyote AJP/1.3 on ajp-8009rn2012-6-3 13:01:22 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 1333 msrn2012-6-3 13:01:22 org.apache.catalina.core.StandardService startrn信息: Starting service Catalinarn2012-6-3 13:01:22 org.apache.catalina.core.StandardEngine startrn信息: Starting Servlet Engine: Apache Tomcat/6.0.20rn2012-6-3 13:01:23 org.apache.coyote.http11.Http11AprProtocol startrn信息: Starting Coyote HTTP/1.1 on http-8080rn2012-6-3 13:01:23 org.apache.coyote.ajp.AjpAprProtocol startrn信息: Starting Coyote AJP/1.3 on ajp-8009rn2012-6-3 13:01:23 org.apache.catalina.startup.Catalina startrn信息: Server startup in 887 msrn[/code]rn运行环境:JDK1.6 XPrnrn找了很久,始终没找到解决方案,也许是我找解决方案的方式有问题,请在线的朋友多指点!
CentOS6.8启动Tomcat无法访问
0. 引言 今天笔者在CentOS6.8的生产环境上配置Java环境,安装JDK,部署Tomcat,这本来是很简单的一件事,可是最后发现通过IP一直访问不了Tomcat的默认页面。 图1. 无法访问Tomcat默认页面 1. 问题排查 一般这种情况可能是CentOS的iptabls防火墙配置的问题,使用ps命令查看tomcat的进程: [root@localhost ~]# ...
动态生成后,怎么处理?
动态生成5个edit在一个penal里面,竖排着,因为但是penal限制太窄,宽度必须定死, 只能看到3个,怎么处理?能不能加上滚动条一类的,还是怎么处理啊???才能都显示
处理Portal无法访问一例
问题描述: 今天早上访问前两天搭建好的一套Portal,版本是10.5,其中ArcGIS Server,DataStore,Portal都部署在一台Redhat 7.3的操作系统中,访问Portal报如下错误:排查过程: 由于网页可以返回错误信息,说明443端口处于正常监听状态。 查看Portal日志,报了很多无法Connection的错误,如下所示 WARNING: Could not conn
不能启动OracleDBCsonsole,怎么处理
[color=#0000FF]Windows不能再本地计算机启动OracleDBConsoletest(test是创建的数据库名)有关更多信息,查询系统事件日志。如果这是非Microsoft服务,请与服务厂商联系,并参考特定服务错误代码2[/color]rn[color=#FF0000]怎么处理?[/color]rnrn[b]已经看过这篇帖子:[/b]rnrn首先分析原因:OracleDBConsole服务用于网页登录数据库,从Oracle10g后开始出现。但发现应用时很脆弱,安装Oracle10g或者11g后网址发生变动时,这个服务就启动不起来了,或者计算机名字发生变动等也可能启动不来。 rn解决: rn1:开始->运行->输入cmd rn2:输入emctl start dbconsole,提示"找不到环境变量ORCALE_SID",请运行SET ORCALE_SID=*** // 设成你的数据库名称 rn3:(如果计算机名称发生变动)再次执行emctl start dbconsole,提示"无法找到D:\oracle\product\10.2.0\db_1\e1c8cd_SKYORCL",复制该目录下的"localhost_skyorcl"文件夹放在同一目录下,且把名称改成"e1c8cd_SKYORCL"。 // e1c8cd为机器名 rn4:(如果网址发生变动)再次执行emctl start dbconsole,提示"无法找到***db_\oc4j\j2ee\OC4J_DBConsole_192.168.1.101(我的ip)_dragon(我的数据库名称)",复制该目录下"OC4J_DBConsole_192.168.1.100_dragon"文件夹放在同一目录下,且把名称改成OC4J_DBConsole_192.168.1.101(我的ip)_dragon"。 rn5:再次执行emctl start dbconsole,会出现类似与上面的错误,同样方法解决,ok。 rn本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/zztxl/archive/2009/05/11/4167 641.aspxrnrnrn我用的是win7的系统,Oracle的版本是11g,在开始—>运行—>输入cmd后输入emctl start dbconsole,会显示说不是内部或外部命令,也不是可运行程序或批处理文件,所以就直接执行后面的步骤(计算机名称没有发生变动,网址有可能发生变动)rn设置了ORACLE——SID,ORACLE——HOME, 在上面的第三个步骤中找不到e1c8cd_SKYORCL文件夹,第四步中的Ip名我的本来是计算机名,改了之后也没用。。。rnrn[b][color=#FF0000]rn还有别的方法么????[/color][b][/b][/b]
为什么requests.get无法访问网页?
[code=python]import jsonrnimport rernfrom urllib.parse import urlencodernimport requestsrnfrom bs4 import BeautifulSouprnfrom requests import RequestExceptionrnrnrndef get_one_index(offset, keyword):rn data = rn 'offset': offset,rn 'format': 'json',rn 'keyword': keyword,rn 'autoload': 'true',rn 'count': '20',rn 'cur_tab': 1rn rn url = 'https://www.toutiao.com/search_content/?' + urlencode(data)rn try:rn response = requests.get(url)rn if response.status_code == 200:rn return response.textrn return Nonern except RequestException:rn print('请求索引页出错')rn return Nonernrnrndef parse_page_index(html):rn data = json.loads(html) # json.load用法:原本是字符串形式,转化成一个对象rn if data and 'data' in data.keys(): # keys用法:返回字典的所有键值rn for item in data.get('data'):rn yield item.get('article_url')rnrnrndef get_page_detail(url):rn try:rn headers = 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 'rn '(KHTML, like Gecko) Chrome/49.0.2623.221 Safari/537.36 SE 2.X MetaSr 1.0'rn response = requests.get(url, headers=headers)rn if response.status_code == 200:rn return response.textrn return Nonern except RequestException:rn print(u'请求详情页出错')rn return Nonernrnrndef parse_page_detail(html): # 解析详情页rn soup = BeautifulSoup(html, 'lxml')rn title = soup.select('title')[0].get_text()rn print(title)rn images_pattern = re.compile('var gallery = (.*?);', re.S)rn result = re.search(images_pattern, html)rn if result:rn print(result.group(1))rnrnrndef main():rn html = get_one_index(0, '街拍')rn for url in parse_page_index(html):rn html = get_page_detail(url)rn if html:rn parse_page_index(html)rnrnrnmain()rn[/code]rnrn想要制作一个爬取今日头条街拍的网络爬虫,但是最后结果一直显示详情页出错,加了headers也没用,求大神指教!
相关热词 c++和c#哪个就业率高 c# 批量动态创建控件 c# 模块和程序集的区别 c# gmap 截图 c# 验证码图片生成类 c# 再次尝试 连接失败 c#开发编写规范 c# 压缩图片好麻烦 c#计算数组中的平均值 c#获取路由参数