热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

启动服务器,在InitializingSpringFrameworkServlet'springMvc'不动了...

1.能否在线交流,调试很久了2.提示的错误太少了3.网上各种原因的都有4.jdk1.8,maven-tomcat7,这个会有冲突吗

1.能否在线交流,调试很久了
2.提示的错误太少了
3.网上各种原因的都有
4.jdk 1.8,maven-tomcat7,这个会有冲突吗





spring-mvc

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40



    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"

    xmlns:cOntext="http://www.springframework.org/schema/context"

    xmlns:dubbo="http://code.alibabatech.com/schema/dubbo" xmlns:mvc="http://www.springframework.org/schema/mvc"

    xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd

        http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-4.0.xsd

        http://code.alibabatech.com/schema/dubbo http://code.alibabatech.com/schema/dubbo/dubbo.xsd

        http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd">





   

   

   

   



   

   

   

   



   

   
        class="org.springframework.web.servlet.view.InternalResourceViewResolver">

       

       

       

       

       

   





   

   

   

   
        id="itemService" />








pom.xml



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148



    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

    4.0.0

   

        com.smniuhe

        taotao-parent

        0.0.1-SNAPSHOT

   


    taotao-manager-web

    war



   



       

            com.smniuhe

            taotao-common

            0.0.1-SNAPSHOT

       




       

            com.smniuhe

            taotao-manager-interface

            0.0.1-SNAPSHOT

       




       

       

            org.springframework

            spring-context

       


       

            org.springframework

            spring-beans

       


       

            org.springframework

            spring-webmvc

       


       

            org.springframework

            spring-jdbc

       


       

            org.springframework

            spring-aspects

       


       

            org.springframework

            spring-jms

       


       

            org.springframework

            spring-context-support

       


       

       

            jstl

            jstl

       


       

            javax.servlet

            javax.servlet-api

            provided

       


       

            javax.servlet.jsp

            javax.servlet.jsp-api

            provided

       




       

       

            com.alibaba

            dubbo

           

               

                    spring

                    org.springframework

               


               

                    netty

                    org.jboss.netty

               


           


       


       

            org.apache.zookeeper

            zookeeper

       


       

            com.github.sgroschupf

            zkclient

       


   






   

       

           

                org.apache.tomcat.maven

                tomcat7-maven-plugin

               

                    /

                    8081

               


           






           

           

                org.apache.maven.plugins

                maven-shade-plugin

                3.0.0

               

                   

                       
                            implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">

                           

                                cn.chinaunicom.woplus.analysis.MongoStatisticServer.App

                                1.8

                                1.8

                           


                       

                       
                            implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">

                            META-INF/spring.schemas

                       

                       
                            implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">

                            META-INF/spring.handlers

                       

                   


               


               

                   

                        package

                       

                            shade

                       


                   


               


           




       


   







日志:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
[INFO] Scanning for projects...

[WARNING]

[WARNING] Some problems were encountered while building the effective model for com.smniuhe:taotao-manager-web:war:0.0.1-SNAPSHOT

[WARNING] 'parent.relativePath' of POM com.smniuhe:taotao-manager-web:[unknown-version] (/Users/niuhesm/Documents/workspace/taotao-manager-web/pom.xml) points at com.smnniuhe:convertWord instead of com.smniuhe:taotao-parent, please verify your project structure @ com.smniuhe:taotao-manager-web:[unknown-version], /Users/niuhesm/Documents/workspace/taotao-manager-web/pom.xml, line 4, column 10

[WARNING] 'build.plugins.plugin.version' for org.apache.tomcat.maven:tomcat7-maven-plugin is missing. @ com.smniuhe:taotao-manager-web:[unknown-version], /Users/niuhesm/Documents/workspace/taotao-manager-web/pom.xml, line 99, column 12

[WARNING]

[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.

[WARNING]

[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.

[WARNING]

[INFO]

[INFO] ------------------------------------------------------------------------

[INFO] Building taotao-manager-web 0.0.1-SNAPSHOT

[INFO] ------------------------------------------------------------------------

[WARNING] The POM for commons-logging:commons-logging:jar:1.2 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details

[INFO]

[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ taotao-manager-web ---

[INFO] Deleting /Users/niuhesm/Documents/workspace/taotao-manager-web/target

[INFO]

[INFO] >>> tomcat7-maven-plugin:2.2:run (default-cli) > process-classes @ taotao-manager-web >>>

[INFO]

[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ taotao-manager-web ---

[INFO] Using 'UTF-8' encoding to copy filtered resources.

[INFO] Copying 3 resources

[INFO]

[INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ taotao-manager-web ---

[INFO] Changes detected - recompiling the module!

[INFO] Compiling 1 source file to /Users/niuhesm/Documents/workspace/taotao-manager-web/target/classes

[INFO]

[INFO] <<
[INFO]

[INFO]

[INFO] --- tomcat7-maven-plugin:2.2:run (default-cli) @ taotao-manager-web ---

[INFO] Running war on http://localhost:8081/

[INFO] Creating Tomcat server configuration at /Users/niuhesm/Documents/workspace/taotao-manager-web/target/tomcat

[INFO] create webapp with contextPath:

八月 23, 2017 4:51:31 下午 org.apache.coyote.AbstractProtocol init

信息: Initializing ProtocolHandler ["http-bio-8081"]

八月 23, 2017 4:51:31 下午 org.apache.catalina.core.StandardService startInternal

信息: Starting service Tomcat

八月 23, 2017 4:51:31 下午 org.apache.catalina.core.StandardEngine startInternal

信息: Starting Servlet Engine: Apache Tomcat/7.0.47

八月 23, 2017 4:51:33 下午 org.apache.catalina.core.ApplicationContext log

信息: No Spring WebApplicationInitializer types detected on classpath

八月 23, 2017 4:51:34 下午 org.apache.catalina.core.ApplicationContext log

信息: Initializing Spring FrameworkServlet 'springMvc'



   



推荐阅读
  • SpringMVC工作流程概述
    SpringMVC工作流程概述 ... [详细]
  • Activiti7流程定义开发笔记
    本文介绍了Activiti7流程定义的开发笔记,包括流程定义的概念、使用activiti-explorer和activiti-eclipse-designer进行建模的方式,以及生成流程图的方法。还介绍了流程定义部署的概念和步骤,包括将bpmn和png文件添加部署到activiti数据库中的方法,以及使用ZIP包进行部署的方式。同时还提到了activiti.cfg.xml文件的作用。 ... [详细]
  • 本文介绍了使用kotlin实现动画效果的方法,包括上下移动、放大缩小、旋转等功能。通过代码示例演示了如何使用ObjectAnimator和AnimatorSet来实现动画效果,并提供了实现抖动效果的代码。同时还介绍了如何使用translationY和translationX来实现上下和左右移动的效果。最后还提供了一个anim_small.xml文件的代码示例,可以用来实现放大缩小的效果。 ... [详细]
  • 这是原文链接:sendingformdata许多情况下,我们使用表单发送数据到服务器。服务器处理数据并返回响应给用户。这看起来很简单,但是 ... [详细]
  • 如何使用Java获取服务器硬件信息和磁盘负载率
    本文介绍了使用Java编程语言获取服务器硬件信息和磁盘负载率的方法。首先在远程服务器上搭建一个支持服务端语言的HTTP服务,并获取服务器的磁盘信息,并将结果输出。然后在本地使用JS编写一个AJAX脚本,远程请求服务端的程序,得到结果并展示给用户。其中还介绍了如何提取硬盘序列号的方法。 ... [详细]
  • 在Xamarin XAML语言中如何在页面级别构建ControlTemplate控件模板
    本文介绍了在Xamarin XAML语言中如何在页面级别构建ControlTemplate控件模板的方法和步骤,包括将ResourceDictionary添加到页面中以及在ResourceDictionary中实现模板的构建。通过本文的阅读,读者可以了解到在Xamarin XAML语言中构建控件模板的具体操作步骤和语法形式。 ... [详细]
  • iOS超签签名服务器搭建及其优劣势
    本文介绍了搭建iOS超签签名服务器的原因和优势,包括不掉签、用户可以直接安装不需要信任、体验好等。同时也提到了超签的劣势,即一个证书只能安装100个,成本较高。文章还详细介绍了超签的实现原理,包括用户请求服务器安装mobileconfig文件、服务器调用苹果接口添加udid等步骤。最后,还提到了生成mobileconfig文件和导出AppleWorldwideDeveloperRelationsCertificationAuthority证书的方法。 ... [详细]
  • SpringMVC接收请求参数的方式总结
    本文总结了在SpringMVC开发中处理控制器参数的各种方式,包括处理使用@RequestParam注解的参数、MultipartFile类型参数和Simple类型参数的RequestParamMethodArgumentResolver,处理@RequestBody注解的参数的RequestResponseBodyMethodProcessor,以及PathVariableMapMethodArgumentResol等子类。 ... [详细]
  • 本文讨论了如何使用Web.Config进行自定义配置节的配置转换。作者提到,他将msbuild设置为详细模式,但转换却忽略了带有替换转换的自定义部分的存在。 ... [详细]
  • 基于Socket的多个客户端之间的聊天功能实现方法
    本文介绍了基于Socket的多个客户端之间实现聊天功能的方法,包括服务器端的实现和客户端的实现。服务器端通过每个用户的输出流向特定用户发送消息,而客户端通过输入流接收消息。同时,还介绍了相关的实体类和Socket的基本概念。 ... [详细]
  • Servlet多用户登录时HttpSession会话信息覆盖问题的解决方案
    本文讨论了在Servlet多用户登录时可能出现的HttpSession会话信息覆盖问题,并提供了解决方案。通过分析JSESSIONID的作用机制和编码方式,我们可以得出每个HttpSession对象都是通过客户端发送的唯一JSESSIONID来识别的,因此无需担心会话信息被覆盖的问题。需要注意的是,本文讨论的是多个客户端级别上的多用户登录,而非同一个浏览器级别上的多用户登录。 ... [详细]
  • MySQL语句大全:创建、授权、查询、修改等【MySQL】的使用方法详解
    本文详细介绍了MySQL语句的使用方法,包括创建用户、授权、查询、修改等操作。通过连接MySQL数据库,可以使用命令创建用户,并指定该用户在哪个主机上可以登录。同时,还可以设置用户的登录密码。通过本文,您可以全面了解MySQL语句的使用方法。 ... [详细]
  • Asp.net Mvc Framework 七 (Filter及其执行顺序) 的应用示例
    本文介绍了在Asp.net Mvc中应用Filter功能进行登录判断、用户权限控制、输出缓存、防盗链、防蜘蛛、本地化设置等操作的示例,并解释了Filter的执行顺序。通过示例代码,详细说明了如何使用Filter来实现这些功能。 ... [详细]
  • 本文讨论了在shiro java配置中加入Shiro listener后启动失败的问题。作者引入了一系列jar包,并在web.xml中配置了相关内容,但启动后却无法正常运行。文章提供了具体引入的jar包和web.xml的配置内容,并指出可能的错误原因。该问题可能与jar包版本不兼容、web.xml配置错误等有关。 ... [详细]
  • 本文讨论了在ASP中创建RazorFunctions.cshtml文件时出现的问题,即ASP.global_asax不存在于命名空间ASP中。文章提供了解决该问题的代码示例,并详细解释了代码中涉及的关键概念,如HttpContext、Request和RouteData等。通过阅读本文,读者可以了解如何解决该问题并理解相关的ASP概念。 ... [详细]
author-avatar
张佩君宣真威任
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有