精华内容
下载资源
问答
  • hexo搭建Github博客上传后,网页显示404问题解决方案

    万次阅读 多人点赞 2017-11-21 18:53:08
    问题如标题所示,“hexo上传博客后,网页始终显示404,无法刷新网页”。奋战几天查各种资料后问题终于得到解决,我感觉很有必要记录一下解决过程和解决方案,网页无法打开的原因真的很让人很无语。 先说一下我的...

    问题如标题所示,“hexo上传博客后,网页始终显示404,无法刷新网页”。奋战几天查各种资料后问题终于得到解决,我感觉很有必要记录一下解决过程和解决方案,网页无法打开的原因真的很让人很无语。
    先说一下我的github的账号是laoxiao79,然后我创建的仓库名称为mobiledeveloper,本地文件夹为mobiledeveloper.github.io,主要参照了http://www.jianshu.com/p/380290deb8f0这篇博文建立的博客,文章总结的很详细,也很到位。搭建完成并将其同步到网上后,页面就是刷新不出来,总是显示404。
    于是开始查找原因,首先百度,搜狗一通搜索,参考了各种方法,都无济于事。最后看到404页面有如下提示:
    这里写图片描述
    于是点进去,
    分别选择“Configuring a publishing source for GitHub Pages”
    这里写图片描述
    这里面有这样的配置,
    这里写图片描述
    需要将source设置成master。
    还有“User, Organization, and Project Pages”
    这里写图片描述
    里面有这样的说明,
    这里写图片描述

    博客网址中必须使用你github的用户名,即,我的用户名为laoxiao79,那么网址必须为laoxiao79.github.io,这样才可以。
    但是我想到刚刚费死劲创建了本地目录mobiledeveloper.github.io,并经过九九八十一难才将其上传成功 ,难道还有重新来一遍不成?这样岂不要人命了。
    后来看到了一个很简单的方法(目前还不知道有没有后遗症),于是果断使用,修改后,网页果然正常了,我阴沉了几天的心终于晴天了。哈哈。
    方法如下图所示,
    这里写图片描述
    将mobiledeveloper.github.io重命名成laoxiao79.github.io即可。
    怎么样,没想到吧?还没有解决方案的同学可以按上述步骤试试,也许有惊喜!
    这里写图片描述
    欢迎您扫一扫上面的微信公众号,订阅我的个人公众号!

    展开全文
  • 经典网页设计404页面第二季

    千次阅读 2013-05-21 20:32:57
    今天再来介绍一些经典的404页面,还记得上一篇文章么,那里也有很多404哦 点我回顾 01. CSS-Tricks CSS-Tricks 是个非常不错的网站,被广大设计者所喜爱,尽管主题很枯燥,不过确充满激情,幽默,个性。这就是他那...

    今天再来介绍一些经典的404页面,还记得上一篇文章么,那里也有很多404哦

    点我回顾

    01. CSS-Tricks

     

    经典网页设计之404页面第二季

    CSS-Tricks 是个非常不错的网站,被广大设计者所喜爱,尽管主题很枯燥,不过确充满激情,幽默,个性。这就是他那忒混蛋的404页面。

    02. Hootsuite

     

    经典网页设计之404页面第二季

     

    Hootsuite是国外一个社交媒体管理平台。而猫头鹰则是他们的吉祥物,瞧上面,那就是他们的404页面。

    03. iStockphoto

     

    经典网页设计之404页面第二季

     

    iStockphoto is an online, royalty free, international microstock image provider that’s risen to prominence partly because it understands its users. This cute if slightly gruesome cartoon will put a smile on your face if you ever get stuck while navigating its massive site.

     

    04. Magnt

     

    经典网页设计之404页面第二季

     

    Magnt enables you to create a business card themed web page in minutes. Its clever 404 page demonstrates both a keen sense of wit, and a clear call to action to take you where you need to be.

    05. Chris Jennings

     

    经典网页设计之404页面第二季

     

    Chris Jennings works as director of user experience at Disqus in San Francisco, and the witty 404 page for his own site provides an excellent experience for any visitor that stumbles upon it. Simple and effective, it manages to tell a story and raise a smile.

    06. GitHub

     

    经典网页设计之404页面第二季

     

    Coding website GitHub is the home of geeks, and what better way to appeal to geeks than a simple Star Wars parody with parallax effect when you move your mouse? GitHub also has a nice 500 page for when the server breaks.

    07. CSS Ninjas

     

    经典网页设计之404页面第二季

     

    Another example of the web design world’s love of ninjas, this 404 page features a nice simple illustration that reflects the site’s general  approach to design.

     

    08. MailChimp

     

    经典网页设计之404页面第二季

     

    The designers at ultra-hip email newsletter service MailChimp have used lateral thinking here and come up with a sausage analogy for a broken link. The style of the 404 page fits the rest of the site design nicely, reflecting the same lighthearted approach that makes an otherwise boring task into something fun and endearing.

    09.net magazine

     

    经典网页设计之404页面第二季

     

    The current 404 page for our sister title’s website, netmagazine.com, designed by Mike Kus, features a series of colourful flashing blocks with screenprint-inspired illustrations representing different elements of the web. It’s as beautifully realised as you’d expect from the UK’s premier web design publication.

    10 .net magazine (tutorial)

     

    经典网页设计之404页面第二季

     

    This 404 page created especially for a .net magazine tutorial by Trent Walton, features a never-ending animated text cut-out effect. The 404 text acts as a window through to a montage of previous .net magazine covers. Click through to the tutorial, ‘Create a 404 page with CSS3 animations‘, to find out how to achieve this effect yourself.

    11. Hakim El Hattab

     

    经典网页设计之404页面第二季

     

    Another 404 page designed for .net magazine, this time by Hakin El Hattab, this HTML5 experiment features creepy eyes that follow your cursor around the page with occasional blinking and narrowing of the iris. Brilliantly executed and nicely interactive.

    12. Tin Sanity

     

    经典网页设计之404页面第二季

     

    Tin Sanity features an incredible animation, involving a dancing cup and straw, that screams its way across the page around the text: “You just got 404’d”. The screaming is accentuated with a drumroll and funky bass soundtrack, all of which leaves an excellent impression (although the website itself is currently empty).

    13. Audiko

     

    经典网页设计之404页面第二季

     

    The free ringtone-making service’s 404 page features a beautifully rendered illustration of London, including the obligatory red bus and telephone box, as well as Big Ben’s Tower, Sherlock Holmes and a hint of Tower Bridge. The site’s worth a visit just for the artwork!

    14. Blik Wall Decals

     

    经典网页设计之404页面第二季

     

    This 404 page for Blik, the world’s first removable wall graphic company, is slightly disturbing, featuring as it does a baby wielding a blood-soaked chainsaw. But this illustration style does reflect the rest of the site’s aesthetics, so it’s in-keeping even if it is a little creepy.

    15. Home Star Runner

     

    经典网页设计之404页面第二季

     

    Audio can be very effective when combined with visuals on a web page, especially as we’re still in the early days of reliable audio-in-a-page. This error page for Home Star Runner, which features amusing characters, downloads, and games, shouts “404’d” at you when you first arrive on the page. And the hand-drawn illustration fits the rest of the site well in terms of style and theme.

    16. Heinz

     

    经典网页设计之404页面第二季

     

    The seminal sauce maker makes nice use of its best known product to illustrate the point here. This 404 page is a great example of using existing branding and/or products in a creative way to lighten the tone.

    17. Duoh!

     

    经典网页设计之404页面第二季

     

    Duoh is the collaborative partnership between illustrator Veerle Pietersand partner Geert Leyseele. Their business is based on strong design principles, and so you’d expect a well-realised 404 page and they don’t disappoint. In characteristic bright colours and negative space, this page looks and feels in keeping with the rest of the site.

    18. Robert Sherman

     

    经典网页设计之404页面第二季

     

    This experiment by graphic design student Robert Sherman pretends to be an interactive bomb-diffusing game, but at the end of it all it makes no difference which wire you choose. A good idea, albeit a little anticlimatic when you get to the punchline.

    19. Bit.ly

     

    经典网页设计之404页面第二季

     

    Link shortening service Bit.ly needs a special URL for its 404 page as bit.ly.com/404 has already been used as a shortened link! The page itself features a cute little creature bobbing up and down in an interactive sea that responds to your mouse movements.

    20. foradian

     

    经典网页设计之404页面第二季

     

    This 404 page for Foradian Technologies features an interactive 3D cube rendered in HTML5 and CSS3 that responds to click+drag as well as keyboard input. An excellent example of an interactive toy that demonstrates the studio’s abilities.

    21. ApartmentHomeLiving

     

    经典网页设计之404页面第二季

     

    This letting agent website’s 404 page features a strange interior shot with a fading sheep sitting on the lavatory. Creative and wacky at the same time, it’s a great (if abstract) example of how to do it well.

    22. DropBox

     

    经典网页设计之404页面第二季

     

    Drop Box has a very simple but effective 404 page featuring an Escher-esque impossible box. You can take this at face value, or see it as signifying the inside-out nature of having navigated to a non-existent page. A nice simple hand-drawn illustration that gets the message across well.

    23. Wufoo

     

    经典网页设计之404页面第二季

     

    Form building tool Wufoo’s 404 page is a simple static affair that uses the branding effectively to convey the message. A good example of a clean approach to handling errors.

    24. Mike Kus

     

    经典网页设计之404页面第二季

     

    Leading designer and illustrator Mike Kus’s 404 page uses a familiar metaphor of TV static in an original way. The effect is achieved with an animated GIF set as the background graphic for the page.

    25. THCNET

     

    经典网页设计之404页面第二季

     

    Some sites include entire games or stories as part of their 404 page. This interactive adventure game works along the lines of the original Hitchhiker’s Guide To The Galaxy text adventure, and invites you to play by entering instructions at the cursor.

    26. Dailymotion Cloud

     

    经典网页设计之404页面第二季

     

    This interactive 404 page make a nice play on the name of the site with animated rain and clouds. The effect is simple yet effective, and is one of the better examples of a sign being used as a visual metaphor.

    27. Walk with You

     

    经典网页设计之404页面第二季

     

    This simple illustrative design for a site promoting life coaching uses existing assets from the overall site design, including the waterfall, to convey the 404 message. Bold typography makes this page work well.

    28. LimpFish

     

    经典网页设计之404页面第二季

     

    One of the best examples of a newspaper metaphor, Dave Barton’s personal site manages to inject a little humour into its error message.

    29. Starbucks

     

    经典网页设计之404页面第二季

     

    Starbucks, like Heinz, makes good use of its primary product to illustrate the 404 message. In this instance the tell-tales signs of a missing coffee cup are used to tell the story.

     

     

    30. Blizzard Entertainment

     

    经典网页设计之404页面第二季

     

    Video game developer Blizzard takes an original approach to its 404 page that fits in with its general style, using broken glass as a metaphor for the broken link. What makes this example stand out is the clean design aesthetic beneath the glass.

    经典网页设计之404页面第二季


    <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
    展开全文
  • ``` ... version="3.1"> <display-name>springMVC ... <servlet-class>org.springframework.web.servlet.DispatcherServlet ...访问http://localhost:9100/home/这个网页就报404。 求大神解答。
  • 灵光一闪,requests包读取网页成功时会返回参数“200”,读取失败时会返回“404”,那直接判断这个返回值不就完事了。。 import requests r = requests.get('url') # 输入相应链接 if str(r) == '<Response [404]...

    在这里插入图片描述
    在优化自己代码时想到了这个问题,百度了一下,发现了各种高大上的操作,唯一的缺点就是篇幅过长。灵光一闪,requests包读取网页成功时会返回参数“200”,读取失败时会返回“404”,那直接判断这个返回值不就完事了。。

    import requests
    r =  requests.get('url') # 输入相应链接
    if str(r) == '<Response [404]>':
    	print('404 Not Found')
    

    要同时判断多个链接的话构建个简单for循环即可,当然这个简单粗暴的判断方法也有缺陷,对于某些有404引导机制的网址这个方法就不适用了。

    展开全文
  • 我按照这个教程的步骤来做,最终打开的网页404。 原因是我按照这个教程打包出的war包结构不对 正常的war包结构应该是长下面这样的: 然而按照教程打包出的war包长这样: 解决方案是:用ma...

    最近因为种种原因放弃了IDEA,改用了VScode,照着网上的教程部署tomcat时遇到了一个诡异的问题。(我参考的教程是https://www.jianshu.com/p/1355b54a5801

    我按照这个教程的步骤来做,最终打开的网页为404。

    原因是我按照这个教程打包出的war包结构不对

    正常的war包结构应该是长下面这样的:
    在这里插入图片描述
    然而按照教程打包出的war包长这样:
    在这里插入图片描述
    解决方案是:用maven原生的命令进行打包

    mvn package
    

    打包后的war包在target目录下,如果有更好更简便的方法请指教

    展开全文
  • 系统提示:The resource you are looking for has been removed, had its name changed, or is temporarily unavailable 配置文件: <modules runAllManagedModulesForAllRequests="true"/> 转载于:...
  • SpringMVC入门案例出现网页404错误的问题 代码部署 目的:Tomcat服务器实现通过控制类(HelloController)来进行一个页面(index.jsp)向另一个页面(success.jsp)跳转 项目的目录: 代码 Hellocontroller package ...
  • **我在运行Tomcat的时候,刷新网页出现了404问题,并出现以下报错: Tomcat 404 error: The origin server did not find a current representation for the target resource or 仔细检查发现自己创建的jsp文件一不...
  • Python爬取网页提示状态码404,浏览器可访问网址错误原因原因正确修改 错误原因 url = "https://www.ip138.com/iplookup.asp?ip=222.222.64.194&action=2" try: r = requests.get(url) print(r.status_code)...
  • 在本地vagrant虚拟机环境下新建或者恢复Drupal站点,总会出现网站页面404空白的现象。其原因是Drupal服务器地址重写原因,需要在服务器编辑一下nginx的站点配置文件.conf。使用命令进入 cd /etc/nginx/conf.d ...
  • 有时候我们可能遇到这样一个情况:当我们访问一个不存在的网页,http协议返回给我们404,浏览器会跳转到一个固定的网页(可以是我们产品的官网)。那么对于这样一个需求,我么应该怎样修改内核呢 方案思路 我这里...
  • 404页面的目的是告诉浏览者其所请求的页面不存在或链接错误,同时引导用户使用浏览网站的其他页面而不是关闭网页离开。自定义404错误页面是增强用户体验的很好的做法,花时间去设计一个创意的404错误页面是一件非常...
  • 如何判断一个网页是否出现404错误

    千次阅读 2008-12-01 08:46:00
    上周五,接到单位的一个活,让我测试一下,单位网站的资料页面,哪些页面...在这里我想到了,以前写的一个使用HttpWebRequest的POST取得网页内容。我们可以采用它来取得相应值。在这里我用代码试了一下,发现如果页面没
  • 今天用户反映,网页打开报Access Error:404 – Not Found Cannot open document for:/的错误,经查看,是tomcat服务器的8080端口被占用了,找到被占用的程序,将其关掉即可。 下面来演示我寻找是什么程序占用的过程...
  • 创建基本动态Web项目教程:... 按照网上的教程配置好Tomcat后启动出现404,描述为:The origin server did not find a current representation for the target resource or is not willing t...
  • 网页输入项目地址后 报错: HTTP Status 404 – Not Found Type Status Report Message /ssmTest/listCategory Description The origin server did not find a current representation for the target resource or ...
  •  打网页显示为:http://localhost:8080/springMVC/welcome HTTP Status 404 - type  Status report message description   The requested resource is not available.  console...
  • Action.c(327): Error -26627: HTTP Status-Code=404 (Not Found) for http://www.****.htm解决方法:找开发人员检查网站部署是否正确产生原因:HTTP 404是指要浏览的网页在服务器中不存在,该网页可能已经迁移。...
  • Whitelabel Error Page This application has no explicit mapping for /error 应该是曾经使用过其他开发软件占用了8080端口而且没有关闭,看了网上好多回答都没回答道这个,特此提醒 win+R打开运行输入“cmd”,...
  • 关于Tomcat访问文件夹(文件目录)出现的404问题【The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.】 进入tomcat安装目录下的...
  •  打网页显示为:http://localhost:8080/springMVC/welcome HTTP Status 404 - type  Status report message description   The requested resource is not available.  console: 日志为 2016-04-08 15:21:47 ...
  •   浏览器:抱歉,404,查Bug去吧。   这个怎么查啊,程序也没问题,部署到本地测试没有问题啊,为什么到服务器上就出现问题?   运维的阿宇说,这可能是Tomcat出问题了,让我去查查Tomcat启动日志catalina.out...
  • 网页地址重定向

    千次阅读 2021-03-15 15:35:45
    网页地址重定向 from flask import render_template from flask import Flask from flask import abort, redirect, url_for app = Flask(__name__) # @app.errorhandler(404) # def page_not_found(error): # ...
  • 网页显示404错误这些天学习JavaWeb,一切进行的挺顺利的,但是偶尔网页总是报404错误,所以必须得解决一下他们。具体步骤,解决404. 2.第一次出现网页404,看了好多遍,tomcat服务器没问题,webxml配置也没问题,...
  • python抓网页资源小脚本

    千次阅读 2012-11-19 23:24:48
    #!/usr/bin/env python # coding: utf-8 import urllib def filter_src(file_name): resource_list = [] f_obj = open(file_name) for f_line in f_obj: if '404' in f_line: str_
  • 人人都不想遇到的 404 错误页面,稍加利用则可以变成品牌推广的利器...这篇翻译自在线平台 Justinmind 的题为 Tips for better 404 error pages  —  with examples 的文章,向你介绍了 404 错误页面的相关背景。...
  • HTTP Status 404 的解决思路

    万次阅读 多人点赞 2018-04-23 09:13:20
    目录 维基百科: 什么是URL 一次完整Http请求 1)DNS域名解析 2)发起TCP的3次握手,建立TCP连接 3) 建立TCP连接后发起http请求 4)服务器响应http请求,浏览器...出现404的一些解决办法 持续更ing.... ...
  • View For EasyUI 后台模板html

    万次阅读 2018-05-11 15:12:11
    View For EasyUI View For EasyUi是基于EasyUI-1.5x开发的前端UI框架;主题主题皮肤,包含所有EasyUI的全部组件美化, 还有各种插件,各种优化 ,完全使用矢量图标,每一...完美支持HTML5网页的完整框架 UML序列图...
  • 摘要: SpringMVC 自带的400或404 页面都是网页,不太适用于客户端需要的json数据 SpringMVC 自带的400或404 页面都是网页,不太适用于客户端需要的json数据, 默认的404:   默认的400页面: 如何实现对...

空空如也

空空如也

1 2 3 4 5 ... 20
收藏数 32,881
精华内容 13,152
关键字:

网页for404