eclipse上导入maven项目在tomcat8上运行,报错

图片说明

5个回答

你这个不还是昨天的问题么
没解决么

qq_37379690
qq_37379690 没有啊,报错内容不一样啊,应该如何解决啊
大约 3 年之前 回复

没有啊,报错内容不一样啊,应该如何解决啊

web.xml中的过滤器方法找不到,应该是jar包没有加载的缘故吧

qq_37379690
qq_37379690 是JAR包没有加载吗?那个jia包啊
大约 3 年之前 回复
qq_37379690
qq_37379690 我也觉得是jar包冲突了,可是我导入项目的lib中没有任何文件啊
大约 3 年之前 回复
qq_37379690
qq_37379690 我报错是org.apache.tomcat.util.descriptor.web.WebXml addFilter不是org.apache.catalina.deploy.WebXml addFilter
大约 3 年之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
在eclipse中导入了一个maven项目 但是java resources有红叉

我在eclipse中导入了一个maven项目 但是java resources有红叉 jdk版本调好了 maven环境之类的都配置好了 依然不行 昨天有红叉可以正常运行 今天运行报错 这个项目在别人电脑上是好的 不出任何问题

maven项目发布到tomcat上之后访问就是404,但是一起发布的web项目就可以访问

查了百度上的修改maven项目下的Deployment这个选项,好像都是正确的,但是还是解决不了访问404的问题,求解答![图片说明](https://img-ask.csdn.net/upload/201812/04/1543909279_946690.png) 这个是tomcat的配置,可以在这个文件夹找到里面的项目,但是不能正常访问![图片说明](https://img-ask.csdn.net/upload/201812/04/1543910211_713631.png) 这是项目启动时发布到控制台的数据 十二月 04, 2018 4:08:35 下午 org.apache.catalina.core.AprLifecycleListener init 信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Java\jdk1.8.0_151\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:/Java/jdk1.8.0_151/bin/../jre/bin/server;C:/Java/jdk1.8.0_151/bin/../jre/bin;C:/Java/jdk1.8.0_151/bin/../jre/lib/amd64;D:\orasuc\product\11.2.0\client_1\bin;D:\orasuc\product\11.2.0\dbhome_1\bin;D:\oracle\product\11.2.0\client_1;D:\orado\product\11.2.0\client_1\bin;C:\Java\jdk1.8.0_151\bin;C:\Java\jdk1.8.0_151\jre\bin;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;D:\Program Files (x86)\Subversion\bin;C:\Program Files\TortoiseSVN\bin;D:\javatools\apache-maven-3.3.9\bin;D:\Program Files (x86)\Microsoft Visual Studio\Common\Tools\WinNT;D:\Program Files (x86)\Microsoft Visual Studio\Common\MSDev98\Bin;D:\Program Files (x86)\Microsoft Visual Studio\Common\Tools;D:\Program Files (x86)\Microsoft Visual Studio\VC98\bin;%USERPROFILE%\AppData\Local\Microsoft\WindowsApps;;D:\javatools\eclipse;;. 十二月 04, 2018 4:08:36 下午 org.apache.tomcat.util.digester.SetPropertiesRule begin 警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:crm_28' did not find a matching property. 十二月 04, 2018 4:08:36 下午 org.apache.tomcat.util.digester.SetPropertiesRule begin 警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:jk28_web' did not find a matching property. 十二月 04, 2018 4:08:36 下午 org.apache.coyote.AbstractProtocol init 信息: Initializing ProtocolHandler ["http-bio-80"] 十二月 04, 2018 4:08:36 下午 org.apache.coyote.AbstractProtocol init 信息: Initializing ProtocolHandler ["ajp-bio-8009"] 十二月 04, 2018 4:08:36 下午 org.apache.catalina.startup.Catalina load 信息: Initialization processed in 847 ms 十二月 04, 2018 4:08:36 下午 org.apache.catalina.core.StandardService startInternal 信息: Starting service Catalina 十二月 04, 2018 4:08:36 下午 org.apache.catalina.core.StandardEngine startInternal 信息: Starting Servlet Engine: Apache Tomcat/7.0.52 十二月 04, 2018 4:08:41 下午 org.apache.catalina.util.SessionIdGenerator createSecureRandom 信息: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [616] milliseconds. 十二月 04, 2018 4:08:47 下午 org.apache.catalina.core.ApplicationContext log 信息: No Spring WebApplicationInitializer types detected on classpath 十二月 04, 2018 4:08:47 下午 org.apache.catalina.core.ApplicationContext log 信息: Initializing Spring root WebApplicationContext 16:08:47,814 INFO ContextLoader:307 - Root WebApplicationContext: initialization started 16:08:47,947 INFO XmlWebApplicationContext:578 - Refreshing Root WebApplicationContext: startup date [Tue Dec 04 16:08:47 CST 2018]; root of context hierarchy 16:08:48,009 INFO XmlBeanDefinitionReader:317 - Loading XML bean definitions from class path resource [applicationContext.xml] 16:08:48,363 INFO MLog:92 - MLog clients using log4j logging. 16:08:48,519 INFO C3P0Registry:216 - Initializing c3p0-0.9.2.1 [built 20-March-2013 10:47:27 +0000; debug? true; trace: 10] ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console. 16:08:50,853 INFO AbstractPoolBackedDataSource:522 - Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 3, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> 1hgeuip9zxd9njtopu5x|5f9c0127, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> com.mysql.jdbc.Driver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1hgeuip9zxd9njtopu5x|5f9c0127, idleConnectionTestPeriod -> 0, initialPoolSize -> 3, jdbcUrl -> jdbc:mysql:///crm_28, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 0, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 15, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 3, numHelperThreads -> 3, preferredTestQuery -> null, properties -> {user=******, password=******}, propertyCycle -> 0, statementCacheNumDeferredCloseThreads -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, userOverrides -> {}, usesTraditionalReflectiveProxies -> false ] 16:08:52,388 INFO HibernateTransactionManager:357 - Using DataSource [com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 3, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> 1hgeuip9zxd9njtopu5x|5f9c0127, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> com.mysql.jdbc.Driver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1hgeuip9zxd9njtopu5x|5f9c0127, idleConnectionTestPeriod -> 0, initialPoolSize -> 3, jdbcUrl -> jdbc:mysql:///crm_28, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 0, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 15, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 3, numHelperThreads -> 3, preferredTestQuery -> null, properties -> {user=******, password=******}, propertyCycle -> 0, statementCacheNumDeferredCloseThreads -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, userOverrides -> {}, usesTraditionalReflectiveProxies -> false ]] of Hibernate SessionFactory for HibernateTransactionManager 16:08:52,489 INFO ContextLoader:347 - Root WebApplicationContext: initialization completed in 4672 ms 16:08:52,749 INFO XmlConfigurationProvider:46 - Parsing configuration file [struts-default.xml] 16:08:52,838 INFO XmlConfigurationProvider:46 - Parsing configuration file [struts-plugin.xml] 16:08:52,855 INFO XmlConfigurationProvider:46 - Parsing configuration file [struts.xml] 16:08:52,858 INFO AbstractBeanSelectionProvider:46 - Choosing bean (spring) for (com.opensymphony.xwork2.ObjectFactory) 16:08:52,858 INFO AbstractBeanSelectionProvider:46 - Choosing bean (struts) for (com.opensymphony.xwork2.factory.ActionFactory) 16:08:52,858 INFO AbstractBeanSelectionProvider:46 - Choosing bean (struts) for (com.opensymphony.xwork2.factory.ResultFactory) 16:08:52,859 INFO AbstractBeanSelectionProvider:46 - Choosing bean (struts) for (com.opensymphony.xwork2.factory.ConverterFactory) 16:08:52,859 INFO AbstractBeanSelectionProvider:46 - Choosing bean (struts) for (com.opensymphony.xwork2.factory.InterceptorFactory) 16:08:52,859 INFO AbstractBeanSelectionProvider:46 - Choosing bean (struts) for (com.opensymphony.xwork2.factory.ValidatorFactory) 16:08:52,859 INFO AbstractBeanSelectionProvider:46 - Choosing bean (struts) for (com.opensymphony.xwork2.factory.UnknownHandlerFactory) 16:08:52,860 INFO AbstractBeanSelectionProvider:46 - Choosing bean (struts) for (com.opensymphony.xwork2.FileManagerFactory) 16:08:52,860 INFO AbstractBeanSelectionProvider:46 - Choosing bean (struts) for (com.opensymphony.xwork2.conversion.impl.XWorkConverter) 16:08:52,860 INFO AbstractBeanSelectionProvider:46 - Choosing bean (struts) for (com.opensymphony.xwork2.conversion.impl.CollectionConverter) 16:08:52,861 INFO AbstractBeanSelectionProvider:46 - Choosing bean (struts) for (com.opensymphony.xwork2.conversion.impl.ArrayConverter) 16:08:52,861 INFO AbstractBeanSelectionProvider:46 - Choosing bean (struts) for (com.opensymphony.xwork2.conversion.impl.DateConverter) 16:08:52,861 INFO AbstractBeanSelectionProvider:46 - Choosing bean (struts) for (com.opensymphony.xwork2.conversion.impl.NumberConverter) 16:08:52,861 INFO AbstractBeanSelectionProvider:46 - Choosing bean (struts) for (com.opensymphony.xwork2.conversion.impl.StringConverter) 16:08:52,861 INFO AbstractBeanSelectionProvider:46 - Choosing bean (struts) for (com.opensymphony.xwork2.conversion.ConversionPropertiesProcessor) 16:08:52,862 INFO AbstractBeanSelectionProvider:46 - Choosing bean (struts) for (com.opensymphony.xwork2.conversion.ConversionFileProcessor) 16:08:52,862 INFO AbstractBeanSelectionProvider:46 - Choosing bean (struts) for (com.opensymphony.xwork2.conversion.ConversionAnnotationProcessor) 16:08:52,862 INFO AbstractBeanSelectionProvider:46 - Choosing bean (struts) for (com.opensymphony.xwork2.conversion.TypeConverterCreator) 16:08:52,862 INFO AbstractBeanSelectionProvider:46 - Choosing bean (struts) for (com.opensymphony.xwork2.conversion.TypeConverterHolder) 16:08:52,863 INFO AbstractBeanSelectionProvider:46 - Choosing bean (struts) for (com.opensymphony.xwork2.TextProvider) 16:08:52,863 INFO AbstractBeanSelectionProvider:46 - Choosing bean (struts) for (com.opensymphony.xwork2.LocaleProvider) 16:08:52,863 INFO AbstractBeanSelectionProvider:46 - Choosing bean (struts) for (com.opensymphony.xwork2.ActionProxyFactory) 16:08:52,863 INFO AbstractBeanSelectionProvider:46 - Choosing bean (struts) for (com.opensymphony.xwork2.conversion.ObjectTypeDeterminer) 16:08:52,863 INFO AbstractBeanSelectionProvider:46 - Choosing bean (struts) for (org.apache.struts2.dispatcher.mapper.ActionMapper) 16:08:52,864 INFO AbstractBeanSelectionProvider:46 - Choosing bean (jakarta) for (org.apache.struts2.dispatcher.multipart.MultiPartRequest) 16:08:52,864 INFO AbstractBeanSelectionProvider:46 - Choosing bean (struts) for (org.apache.struts2.views.freemarker.FreemarkerManager) 16:08:52,865 INFO AbstractBeanSelectionProvider:46 - Choosing bean (struts) for (org.apache.struts2.components.UrlRenderer) 16:08:52,865 INFO AbstractBeanSelectionProvider:46 - Choosing bean (struts) for (com.opensymphony.xwork2.validator.ActionValidatorManager) 16:08:52,865 INFO AbstractBeanSelectionProvider:46 - Choosing bean (struts) for (com.opensymphony.xwork2.util.ValueStackFactory) 16:08:52,866 INFO AbstractBeanSelectionProvider:46 - Choosing bean (struts) for (com.opensymphony.xwork2.util.reflection.ReflectionProvider) 16:08:52,866 INFO AbstractBeanSelectionProvider:46 - Choosing bean (struts) for (com.opensymphony.xwork2.util.reflection.ReflectionContextFactory) 16:08:52,866 INFO AbstractBeanSelectionProvider:46 - Choosing bean (struts) for (com.opensymphony.xwork2.util.PatternMatcher) 16:08:52,867 INFO AbstractBeanSelectionProvider:46 - Choosing bean (struts) for (org.apache.struts2.util.ContentTypeMatcher) 16:08:52,867 INFO AbstractBeanSelectionProvider:46 - Choosing bean (struts) for (org.apache.struts2.dispatcher.StaticContentLoader) 16:08:52,867 INFO AbstractBeanSelectionProvider:46 - Choosing bean (struts) for (com.opensymphony.xwork2.UnknownHandlerManager) 16:08:52,867 INFO AbstractBeanSelectionProvider:46 - Choosing bean (struts) for (org.apache.struts2.views.util.UrlHelper) 16:08:52,868 INFO AbstractBeanSelectionProvider:46 - Choosing bean (struts) for (com.opensymphony.xwork2.util.TextParser) 16:08:52,868 INFO AbstractBeanSelectionProvider:46 - Choosing bean (struts) for (org.apache.struts2.dispatcher.DispatcherErrorHandler) 16:08:52,868 INFO AbstractBeanSelectionProvider:46 - Choosing bean (struts) for (com.opensymphony.xwork2.security.ExcludedPatternsChecker) 16:08:52,868 INFO AbstractBeanSelectionProvider:46 - Choosing bean (struts) for (com.opensymphony.xwork2.security.AcceptedPatternsChecker) 16:08:52,892 INFO StrutsSpringObjectFactory:46 - Initializing Struts-Spring integration... 16:08:52,893 INFO SpringObjectFactory:46 - Setting autowire strategy to name 16:08:52,893 INFO StrutsSpringObjectFactory:46 - ... initialized Struts-Spring integration successfully 十二月 04, 2018 4:09:01 下午 org.apache.catalina.core.ApplicationContext log 信息: No Spring WebApplicationInitializer types detected on classpath 十二月 04, 2018 4:09:01 下午 org.apache.catalina.core.ApplicationContext log 信息: Initializing Spring root WebApplicationContext log4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader). log4j:WARN Please initialize the log4j system properly. 十二月 04, 2018 4:09:07 下午 org.apache.coyote.AbstractProtocol start 信息: Starting ProtocolHandler ["http-bio-80"] 十二月 04, 2018 4:09:07 下午 org.apache.coyote.AbstractProtocol start 信息: Starting ProtocolHandler ["ajp-bio-8009"] 十二月 04, 2018 4:09:07 下午 org.apache.catalina.startup.Catalina start 信息: Server startup in 30751 ms

eclipse+maven+tomcat进行debug报错

按照公司的环境配置文档 Maven,jdk,tomcat都配置好了 ![图片说明](https://img-ask.csdn.net/upload/201709/26/1506408274_760191.png) ![图片说明](https://img-ask.csdn.net/upload/201709/26/1506408376_81569.png) tomcat是7.0安装版的 然后导入了一个新建的Maven项目,pom.xml配置如下 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.a</groupId> <artifactId>wind</artifactId> <packaging>war</packaging> <version>1.0-SNAPSHOT</version> <name>wind Maven Webapp</name> <url>http://maven.apache.org</url> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.1</version> <scope>test</scope> </dependency> </dependencies> <build> <finalName>wind</finalName> </build> </project> 然后在debug configuration中新加了一个debug ![图片说明](https://img-ask.csdn.net/upload/201709/26/1506408601_722266.png) 在debug启动时报错误 Error resolving version for plugin 'org.codehaus.mojo:tomcat-maven-plugin' from the repositories [local (D:\environment\Maven\Mrepository), central (https://repo.maven.apache.org/maven2)]: Plugin not found in any plugin repository 随后我查了一下原因,在pom中加上了 <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>tomcat-maven-plugin</artifactId> <version>1.1</version> <configuration> <path>/wp</path> <port>8080</port> <uriEncoding>UTF-8</uriEncoding> <url>http://localhost:8080/manager/html</url> <server>tomcat</server> </configuration> </plugin> debug没有报错,但是访问项目的时候一片空白,去到项目下边target下的tomcat,,,webapp下没有任何项目

intellij idea导入eclipse创建的maven web项目 jar包导入总是报错

** 软件环境**: spring+springMVC+mybatis+ mysql; tomcat服务器; maven项目 eclipse工具运行正常; **问题描述:** maven的jar包依赖没有导入成功,maven配置正常 沿用了阿里云的中心库eclipse可用; 报错截图1: ![图片说明](https://img-ask.csdn.net/upload/201811/12/1542032523_181718.png) ``` nformation:java: Errors occurred while compiling module 'miaolanghzong' Information:Eclipse compiler 4.7.2 was used to compile java sources Information:2018/11/12 21:56 - Compilation completed with 133 errors and 418 warnings in 29 s 620 ms D:\career\workspaceTest2\erzhentang\src\main\java\com\app\totalController\MemberBusinessController.java Error:Error:line (1)java: Syntax error on token "Invalid Character", delete this token Error:Error:line (13)java: The import javax.servlet.http.HttpServletRequest cannot be resolved Error:Error:line (14)java: The import javax.servlet.http.HttpServletResponse cannot be resolved Error:Error:line (47)java: The import com.google.gson cannot be resolved Error:Error:line (659)java: HttpServletRequest cannot be resolved to a type Error:Error:line (659)java: HttpServletResponse cannot be resolved to a type Error:Error:line (623)java: HttpServletRequest cannot be resolved to a type Error:Error:line (623)java: HttpServletResponse cannot be resolved to a type Error:Error:line (894)java: HttpServletRequest cannot be resolved to a type Error:Error:line (894)java: HttpServletResponse cannot be resolved to a type Error:Error:line (806)java: HttpServletRequest cannot be resolved to a type Error:Error:line (806)java: HttpServletResponse cannot be resolved to a type Error:Error:line (198)java: HttpServletRequest cannot be resolved to a type Error:Error:line (198)java: HttpServletResponse cannot be resolved to a type Error:Error:line (277)java: HttpServletRequest cannot be resolved to a type Error:Error:line (277)java: HttpServletResponse cannot be resolved to a type Error:Error:line (134)java: HttpServletRequest cannot be resolved to a type Error:Error:line (134)java: HttpServletResponse cannot be resolved to a type Error:Error:line (460)java: HttpServletRequest cannot be resolved to a type Error:Error:line (460)java: HttpServletResponse cannot be resolved to a type Error:Error:line (540)java: HttpServletRequest cannot be resolved to a type Error:Error:line (540)java: HttpServletResponse cannot be resolved to a type Error:Error:line (109)java: HttpServletRequest cannot be resolved to a type Error:Error:line (109)java: HttpServletResponse cannot be resolved to a type Error:Error:line (411)java: HttpServletRequest cannot be resolved to a type Error:Error:line (411)java: HttpServletResponse cannot be resolved to a type Warning:Warning:line (114)java: The static method sendCode(java.lang.String) from the type com.app.util.Alidayu should be accessed in a static way Warning:Warning:line (154)java: The static method md5Encode(java.lang.String) from the type com.app.util.MD5Util should be accessed in a static way Warning:Warning:line (207)java: The static method md5Encode(java.lang.String) from the type com.app.util.MD5Util should be accessed in a static way Warning:Warning:line (286)java: The static method md5Encode(java.lang.String) from the type com.app.util.MD5Util should be accessed in a static way Warning:Warning:line (421)java: The static method md5Encode(java.lang.String) from the type com.app.util.MD5Util should be accessed in a static way Warning:Warning:line (469)java: The static method md5Encode(java.lang.String) from the type com.app.util.MD5Util should be accessed in a static way Warning:Warning:line (549)java: The static method md5Encode(java.lang.String) from the type com.app.util.MD5Util should be accessed in a static way D:\career\workspaceTest2\erzhentang\src\main\java\com\app\common\LoginFilter.java Error:Error:line (23)java: Filter cannot be resolved to a type Error:Error:line (37)java: ServletException cannot be resolved to a type Error:Error:line (36)java: ServletRequest cannot be resolved to a type Error:Error:line (36)java: ServletResponse cannot be resolved to a type Error:Error:line (37)java: FilterChain cannot be resolved to a type Error:Error:line (106)java: ServletException cannot be resolved to a type Error:Error:line (106)java: FilterConfig cannot be resolved to a type Error:Error:line (7)java: The import javax.servlet.Filter cannot be resolved Error:Error:line (8)java: The import javax.servlet.FilterChain cannot be resolved Error:Error:line (9)java: The import javax.servlet.FilterConfig cannot be resolved Error:Error:line (10)java: The import javax.servlet.ServletException cannot be resolved Error:Error:line (11)java: The import javax.servlet.ServletRequest cannot be resolved Error:Error:line (12)java: The import javax.servlet.ServletResponse cannot be resolved Error:Error:line (13)java: The import javax.servlet.http.HttpServletRequest cannot be resolved Error:Error:line (14)java: The import javax.servlet.http.HttpServletResponse cannot be resolved Error:Error:line (15)java: The import javax.servlet.http.HttpSession cannot be resolved Error:Error:line (24)java: FilterConfig cannot be resolved to a type Warning:Warning:line (26)java: java.util.List is a raw type. References to generic type java.util.List<E> should be parameterized Warning:Warning:line (28)java: java.util.List is a raw type. References to generic type java.util.List<E> should be parameterized Error:Error:line (33)java: FilterConfig cannot be resolved to a type Error:Error:line (39)java: HttpServletRequest cannot be resolved to a type Error:Error:line (39)java: HttpServletRequest cannot be resolved to a type Error:Error:line (40)java: HttpServletResponse cannot be resolved to a type Error:Error:line (40)java: HttpServletResponse cannot be resolved to a type Error:Error:line (41)java: HttpSession cannot be resolved to a type Error:Error:line (107)java: FilterConfig cannot be resolved to a type Error:Error:line (108)java: FilterConfig cannot be resolved to a type Error:Error:line (113)java: FilterConfig cannot be resolved to a type D:\career\workspaceTest2\erzhentang\src\main\java\com\app\dao\impl\MemberDaoImpl.java Warning:Warning:line (42)java: java.util.Map is a raw type. References to generic type java.util.Map<K,V> should be parameterized Warning:Warning:line (63)java: java.util.Map is a raw type. References to generic type java.util.Map<K,V> should be parameterized Warning:Warning:line (110)java: java.util.Map is a raw type. References to generic type java.util.Map<K,V> should be parameterized Warning:Warning:line (9)java: The import com.app.bean.Menu is never used D:\career\workspaceTest2\erzhentang\src\main\java\com\app\dao\impl\EarProblemDaoImpl.java Warning:Warning:line (18)java: java.util.Map is a raw type. References to generic type java.util.Map<K,V> should be parameterized Warning:Warning:line (48)java: java.util.Map is a raw type. References to generic type java.util.Map<K,V> should be parameterized D:\career\workspaceTest2\erzhentang\src\main\java\com\app\dao\impl\BodyConclusionDaoImpl.java Warning:Warning:line (25)java: java.util.Map is a raw type. References to generic type java.util.Map<K,V> should be parameterized Warning:Warning:line (11)java: The import com.app.bean.BodyConclusionWuxing is never used D:\career\workspaceTest2\erzhentang\src\main\java\com\app\dao\mapper\EarDisease100Mapper.java Warning:Warning:line (14)java: java.util.Map is a raw type. References to generic type java.util.Map<K,V> should be parameterized D:\career\workspaceTest2\erzhentang\src\main\java\com\app\dao\BlueToochMacDao.java Warning:Warning:line (12)java: java.util.Map is a raw type. References to generic type java.util.Map<K,V> should be parameterized Warning:Warning:line (14)java: java.util.Map is a raw type. References to generic type java.util.Map<K,V> should be parameterized D:\career\workspaceTest2\erzhentang\src\main\java\com\app\dao\EarScanC ``` ![图片说明](https://img-ask.csdn.net/upload/201811/12/1542031436_513761.png) ![图片说明](https://img-ask.csdn.net/upload/201811/12/1542031687_784746.png) ![图片说明](https://img-ask.csdn.net/upload/201811/12/1542031723_457809.png) ![图片说明](https://img-ask.csdn.net/upload/201811/12/1542031745_434340.png) ![图片说明](https://img-ask.csdn.net/upload/201811/12/1542031762_172605.png) ![图片说明](https://img-ask.csdn.net/upload/201811/12/1542031776_649119.png)

请教下Maven项目启动没报错但登录不了localhost的问题

求大佬指点下啊,本菜鸡用的是Maven项目,原先项目运行啥的没问题,换了svn后原先的逆向工程啥的没改,服务器启动也没有报错,可登陆localhost还是404.。。

idea+maven导入web项目后,tomcat无报错,无日志输出,启动失败,求大神!

![项目结构图](https://img-ask.csdn.net/upload/201604/23/1461396760_726616.png) 模块之间的依赖关系可以从这个pom中看出来![platform依赖business,core和web](https://img-ask.csdn.net/upload/201604/23/1461396817_519237.png) 把这三个子模块的编译结果都输出到platform的webapp\WEB-INF\classes,所依赖的jar包通过Maven也输出到webapp\WEB-INF\lib,![classes与lib](https://img-ask.csdn.net/upload/201604/23/1461396953_75610.png) 然后tomcate 这样配置的 ![idea+tomcate配置1](https://img-ask.csdn.net/upload/201604/23/1461396999_50044.png) ![idea+tomcate配置2](https://img-ask.csdn.net/upload/201604/23/1461397026_55676.png) 然后启动tomcate 无报错 无log 直接停止,真的太诡异了! ![无报错](https://img-ask.csdn.net/upload/201604/23/1461397082_343540.png) ![无报错](https://img-ask.csdn.net/upload/201604/23/1461397099_893396.png) ![localhost无Log](https://img-ask.csdn.net/upload/201604/23/1461397127_293200.png) ![catalina无log](https://img-ask.csdn.net/upload/201604/23/1461397160_210608.png) 大神们,帮帮忙!太感谢了!!!

项目部署了tomcat,项目也没有报错,但是在网页是却报404错误

![图片说明](https://img-ask.csdn.net/upload/201801/07/1515336873_507231.png)运行b.html却可以在网页显示出来 看下图 ![![![![![图片说明](https://img-ask.csdn.net/upload/201801/07/1515332826_400521.png)图片说明](https://img-ask.csdn.net/upload/201801/07/1515332818_700917.png)图片说明](https://img-ask.csdn.net/upload/201801/07/1515332811_585765.png)图片说明](https://img-ask.csdn.net/upload/201801/07/1515332800_981866.png)图片说明](https://img-ask.csdn.net/upload/201801/07/1515332794_385263.png)![![![![图片说明](https://img-ask.csdn.net/upload/201801/07/1515334156_618579.png)图片说明](https://img-ask.csdn.net/upload/201801/07/1515334145_142289.png)图片说明](https://img-ask.csdn.net/upload/201801/07/1515334124_348937.png)图片说明](https://img-ask.csdn.net/upload/201801/07/1515334109_638653.png)

tomcat插件来部署hellowrld tomcat7-maven-plugin报错

我现在想用tomcat插件来部署hellowrld 先看下配置文件 一个maven插件tomcat如何安装tomcat7-maven-plugin 下面是配置文件 maven setting ![图片说明](https://img-ask.csdn.net/upload/201902/02/1549075712_250447.png) web.xml配置文件![图片说明](https://img-ask.csdn.net/upload/201902/02/1549075767_313533.png) pom.xml配置文件![图片说明](https://img-ask.csdn.net/upload/201902/02/1549075796_985173.png) tomcat-user插件的配置文件 ![图片说明](https://img-ask.csdn.net/upload/201902/02/1549075836_8253.png) eclipse工具报错

idea下启动项目报错,但是在eclipse下启动运行正常

idea下启动项目报错,但是在eclipse下启动运行正常,用的tomcat,报错信息如下,求解答! 不知道有什么问题,搞了一早上也没有解决! ![图片说明](https://img-ask.csdn.net/upload/201508/10/1439187671_19928.png) ![图片说明](https://img-ask.csdn.net/upload/201508/10/1439187681_281520.png)

java 项目 导入成功后jsp页面报错处理方法

本人新导入一个maven项目可是jsp页面一直报错,我先按照网上的经验操作如下步骤:   在pom.xml配置文件中添加上javax.servlet的相关依赖:     <dependency>     <groupId>javax.servlet</groupId>     <artifactId>servlet-api</artifactId>     <version>2.5</version>     <scope>provided</scope>     </dependency>  依赖tomcat类库:     项目右击—>build path —> configure build path — >libraries — > add libraries —> Server Runtime — >选择一个服务器lib —> ok   此方法并没有解决jsp报错问题,最终经过搜索发现如下方法:     windows—>Preferences—>Validation—>把Show a confirmation dialog when performng manual validations 前边的√去掉—>Disable All —> apply —> ok   此方法最终解决问题 参考链接:http://blog.csdn.net/qq_24081681/article/details/66969452

eclipse的maven导入时报错

第一次装maven,按步骤是装好了。导入第一个maven项目就报错了,求大神不吝赐教! 以下是错误提示 Errors occurred during the build. Errors running builder 'Maven Project Builder' on project 'jeecg'. Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-resources-plugin:jar:2.6 has not been downloaded from it before. Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-resources-plugin:jar:2.6 has not been downloaded from it before. Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-resources-plugin:jar:2.6 has not been downloaded from it before. Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-resources-plugin:jar:2.6 has not been downloaded from it before.

eclipse 导入ant项目之后,run as ant build

eclipse 导入ant项目之后,右键选择build.xml, run as ant build 为什么浏览器不出现运行界面?就像javaweb项目 run as server之后浏览器就默认运行主页了 。难道run as ant build就是用来编译的,还要手动把项目复制到tomcat下面才能运行吗?不能直接在eclipse里面运行ant项目吗?

开源码maven项目到入eclipse启动报错!

严重: A child container failed during start java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/tianti-module-admin]] at java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.util.concurrent.FutureTask.get(FutureTask.java:192) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:939) at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:872) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1419) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/tianti-module-admin]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167) ... 6 more Caused by: org.apache.catalina.LifecycleException: Failed to start component [org.apache.catalina.webresources.StandardRoot@2a1419de] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167) at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4860) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4995) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ... 6 more Caused by: org.apache.catalina.LifecycleException: Failed to initialize component [org.apache.catalina.webresources.JarResourceSet@5a96f0e3] at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:112) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:140) at org.apache.catalina.webresources.StandardRoot.startInternal(StandardRoot.java:724) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ... 9 more Caused by: java.lang.IllegalArgumentException: java.util.zip.ZipException: invalid LOC header (bad signature) at org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.initInternal(AbstractSingleArchiveResourceSet.java:142) at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107) ... 12 more Caused by: java.util.zip.ZipException: invalid LOC header (bad signature) at java.util.zip.ZipFile.read(Native Method) at java.util.zip.ZipFile.access$1400(ZipFile.java:60) at java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:734) at java.util.zip.ZipFile$ZipFileInflaterInputStream.fill(ZipFile.java:434) at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158) at sun.misc.IOUtils.readFully(IOUtils.java:65) at java.util.jar.JarFile.getBytes(JarFile.java:425) at java.util.jar.JarFile.getManifestFromReference(JarFile.java:193) at java.util.jar.JarFile.getManifest(JarFile.java:180) at org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.initInternal(AbstractSingleArchiveResourceSet.java:140) ... 13 more 十二月 09, 2017 11:45:54 上午 org.apache.catalina.core.ContainerBase startInternal 严重: A child container failed during start java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]] at java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.util.concurrent.FutureTask.get(FutureTask.java:192) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:939) at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.StandardService.startInternal(StandardService.java:422) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:793) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.startup.Catalina.start(Catalina.java:670) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:353) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:493) Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1419) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: org.apache.catalina.LifecycleException: A child container failed during start at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:947) at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:872) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ... 6 more 十二月 09, 2017 11:45:54 上午 org.apache.catalina.startup.Catalina start 严重: The required Server component failed to start so Tomcat is unable to start. org.apache.catalina.LifecycleException: Failed to start component [StandardServer[8005]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167) at org.apache.catalina.startup.Catalina.start(Catalina.java:670) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:353) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:493) Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardService[Catalina]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167) at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:793) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ... 7 more Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167) at org.apache.catalina.core.StandardService.startInternal(StandardService.java:422) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ... 9 more Caused by: org.apache.catalina.LifecycleException: A child container failed during start at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:947) at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ... 11 more

拿到公司项目,放到idea报错如下,可是在eclipse里面却可以正常运行,为什么

六月 02, 2017 3:31:20 下午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deploying web application directory C:\apache-tomcat-7.0.42-Myeclipse\webapps\manager 15:31:20 | INFO| net.jeeshop.core.front.SystemManager => {from_eamil_smtpServer=smtp.sina.cn, product_image_1_w=200, paygate.type=dummy, task_default_seconds_time=6000, from_email_account=jshop123@sina.cn, file.upload.path=F:/sts/sts-bundle/pivotal-tc-server-developer-3.1.4.RELEASE/localhost8080/wtpwebapps/upload/, product_image_2_w=350, from_email_password=jshop123456, task_ManageCacheTask_time=3600, system_debug=debug, task_SystemAutoNotifyTask_time=3600, task_CancelOrderTask_time=3600} 15:31:21 | INFO| o.s.b.factory.support.DefaultListableBeanFactory => Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@4fa9c9f3: defining beans [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0,dataSource,dataSourceTarget,sessionFactory,transactionManager,txAdvice,org.springframework.aop.config.internalAutoProxyCreator,interceptorPointCuts,org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0,facadeMonitoringAdvisor,springDataSourceBeanPostProcessor,wrappedDataSource,baseDao,freemarkerHelper,org.springframework.context.support.PropertySourcesPlaceholderConfigurer#0,systemManager,simpleCacheProvider,ehcacheCacheProvider,redisCacheProvider,jedisConnectionFactory,redisTemplate,jedisPoolConfig,accountDaoManage,accountServiceManage,accountRankDaoManage,accountRankServiceManage,activityDaoManage,activityServiceManage,advertDaoManage,advertServiceManage,areaDaoManage,areaServiceManage,attributeDaoManage,attributeServiceManage,attribute_linkDaoManage,attribute_linkServiceManage,catalogDaoManage,catalogServiceManage,commentDaoManage,commentServiceManage,commentTypeDaoManage,commentTypeServiceManage,dsmdDesignerDaoManage,dsmdDesignerServiceManage,dsmdAppointmentDaoManage,dsmdAppointmentServiceManage,emailDaoManage,emailServiceManage,emailNotifyProductDaoManage,emailNotifyProductManage,expressDaoManage,expressServiceManage,giftDaoManage,giftServiceManage,goodShopDaoManage,goodShopServiceManage,goodShopDesignerDaoManage,goodShopDesignerServiceManage,goodShopProviderDaoManage,goodShopProviderServiceManage,hotqueryDaoManage,hotqueryServiceManage,indexImgDaoManage,indexImgServiceManage,keyvalueDaoManage,keyvalueServiceManage,navigationDaoManage,navigationServiceManage,newsDaoManage,newsServiceManage,notifyTemplateDaoManage,notifyTemplateServiceManage,orderDaoManage,orderServiceManage,orderdetailDaoManage,orderdetailServiceManage,orderlogDaoManage,orderlogServiceManage,orderpayDaoManage,orderpayServiceManage,ordershipDaoManage,ordershipServiceManage,ossDaoManage,ossServiceManage,payDaoManage,payServiceManage,productDaoManage,productServiceManage,questionnaireDaoManage,questionnaireServiceManage,questionnaireItemDaoManage,questionnaireItemServiceManage,questionnaireResultDaoManage,questionnaireResultServiceManage,shopDaoManage,shopServiceManage,shopRuleDaoManage,shopRuleServiceManage,smsDaoManage,smsServiceManage,specDaoManage,specServiceManage,superModelDaoManage,superModelServiceManage,menuService,privilegeService,roleService,userService,systemlogDaoManage,systemlogServiceManage,systemSettingDaoManage,systemSettingServiceManage,taskDaoManage,taskServiceManage,xtsxDaoManage,xtsxServiceManage,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,manageCache,accountDaoFront,accountServiceFront,addressDaoFront,addressServiceFront,advertDaoFront,advertServiceFront,areaDaoFront,areaServiceFront,attributeDaoFront,attributeServiceFront,attribute_linkDaoFront,attribute_linkServiceFront,bbsCategoryDaoFront,bbsCommentDaoFront,bbsDetailDaoFront,bbsImgDaoFront,bbsCategoryServiceFront,bbsCommentServiceFront,bbsDetailServiceFront,bbsImgServiceFront,catalogDaoFront,catalogServiceFront,commentDaoFront,commentServiceFront,commentTypeDaoFront,commentTypeServiceFront,commonService,configDao,configService,dsmdDesignerDaoFront,dsmdDesignerServiceFront,emailDaoFront,emailServiceFront,emailNotifyProductDaoFront,emailNotifyProductServiceFront,expressDaoFront,expressServiceFront,favoriteDaoFront,favoriteServiceFront,feedBackDao,feedBackService,goodShopDaoFront,goodShopServiceFront,goodShopDesignerDaoFront,goodShopDesignerServiceFront,goodShopProviderDaoFront,goodShopProviderServiceFront,indexImgDaoFront,indexImgServiceFront,keyvalueDaoImpl,keyvalueServiceImpl,navigationDaoImpl,navigationServiceImpl,newsDaoImpl,newsServiceImpl,notifyTemplateDaoImpl,notifyTemplateServiceImpl,orderDaoFront,orderServiceImpl,orderdetailDaoFront,orderdetailServiceImpl,orderlogDaoImpl,orderlogServiceImpl,orderpayDaoImpl,orderpayServiceImpl,ordershipDaoImpl,ordershipServiceImpl,payDaoImpl,payServiceImpl,productDaoImpl,productServiceImpl,questionnaireDaoImpl,questionnaireServiceImpl,questionnaireItemDaoImpl,questionnaireItemServiceImpl,questionnaireResultDaoImpl,questionnaireResultServiceImpl,sessionDao,sessionService,shopDaoFront,shopServiceFront,shopRuleDaoFront,shopRuleServiceFront,systemlogDaoImpl,systemlogServiceImpl,systemSettingDaoImpl,systemSettingServiceImpl,frontCache,idGen,processEngineConfiguration,processEngineFactory,processEngine,repositoryService,runtimeService,formService,identityService,taskService,historyService,managementService,contentTypeResolver,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor]; root of factory hierarchy 15:31:21 |ERROR| org.springframework.web.context.ContextLoader => Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'freemarkerHelper': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private net.jeeshop.services.front.product.ProductService net.jeeshop.core.freemarker.front.FreemarkerHelper.productService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'productServiceImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void net.jeeshop.services.front.product.impl.ProductServiceImpl.setDao(net.jeeshop.core.DaoManager); nested exception is org.springframework.beans.factory.NoUniqueBeanDefinitionException: No qualifying bean of type [net.jeeshop.core.DaoManager] is defined: expected single matching bean but found 88: accountDaoManage,accountRankDaoManage,activityDaoManage,advertDaoManage,areaDaoManage,attributeDaoManage,attribute_linkDaoManage,catalogDaoManage,commentDaoManage,commentTypeDaoManage,dsmdDesignerDaoManage,dsmdAppointmentDaoManage,emailDaoManage,emailNotifyProductDaoManage,expressDaoManage,giftDaoManage,goodShopDaoManage,goodShopDesignerDaoManage,goodShopProviderDaoManage,hotqueryDaoManage,indexImgDaoManage,keyvalueDaoManage,navigationDaoManage,newsDaoManage,notifyTemplateDaoManage,orderDaoManage,orderdetailDaoManage,orderlogDaoManage,orderpayDaoManage,ordershipDaoManage,ossDaoManage,payDaoManage,productDaoManage,questionnaireDaoManage,questionnaireItemDaoManage,questionnaireResultDaoManage,shopDaoManage,shopRuleDaoManage,smsDaoManage,specDaoManage,superModelDaoManage,systemlogDaoManage,systemSettingDaoManage,taskDaoManage,xtsxDaoManage,accountDaoFront,addressDaoFront,advertDaoFront,areaDaoFront,attributeDaoFront,attribute_linkDaoFront,bbsCategoryDaoFront,bbsCommentDaoFront,bbsDetailDaoFront,bbsImgDaoFront,catalogDaoFront,commentDaoFront,commentTypeDaoFront,configDao,dsmdDesignerDaoFront,emailDaoFront,emailNotifyProductDaoFront,expressDaoFront,favoriteDaoFront,feedBackDao,goodShopDaoFront,goodShopDesignerDaoFront,goodShopProviderDaoFront,indexImgDaoFront,keyvalueDaoImpl,navigationDaoImpl,newsDaoImpl,notifyTemplateDaoImpl,orderDaoFront,orderdetailDaoFront,orderlogDaoImpl,orderpayDaoImpl,ordershipDaoImpl,payDaoImpl,productDaoImpl,questionnaireDaoImpl,questionnaireItemDaoImpl,questionnaireResultDaoImpl,sessionDao,shopDaoFront,shopRuleDaoFront,systemlogDaoImpl,systemSettingDaoImpl at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:289) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1146) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296) at

eclipse tomcat端口与报错端口不一致问题

eclipse中我的tomcat是8080端口的,但是我在run as ->maven build的时候出现Failed to initialize end point associated with ProtocolHandler ["http-bio-80"]错误,希望各位大神指点迷津~

IDEA+Maven+JDK11与tomcat插件问题

我想请教下是不是jdk11版本不支持在maven里面添加tomcat插件了,导入tomcat7插件pom就一直报错,怎么都没法弄好

Maven项目导入后Dependences出现红色波浪线,尝试多种方法仍然解决不了!

![图片说明](https://img-ask.csdn.net/upload/201912/21/1576892983_417365.jpg)![图片说明](https://img-ask.csdn.net/upload/201912/21/1576893039_928872.jpg) 看了很多别人的方法,都解决不了,哪位大神来救救孩子吧!

关于maven项目问题求解决

启动Tomcat时一直报这个错误Caused by: java.lang.NoClassDefFoundError: org/apache/http/conn/HttpClientConnectionManager,什么原因

idea打开Eclipse建的SpringBoot项目,无法通过pom.xml引入jar包

![图片说明](https://img-ask.csdn.net/upload/201707/08/1499484065_366290.png) 请见图,External Libraries下并没有Maven的jar,就连jdk都是后来加的。 如何解决?

2019 AI开发者大会

2019 AI开发者大会(AI ProCon 2019)是由中国IT社区CSDN主办的AI技术与产业年度盛会。多年经验淬炼,如今蓄势待发:2019年9月6-7日,大会将有近百位中美顶尖AI专家、知名企业代表以及千余名AI开发者齐聚北京,进行技术解读和产业论证。我们不空谈口号,只谈技术,诚挚邀请AI业内人士一起共铸人工智能新篇章!

实现简单的文件系统

实验内容: 通过对具体的文件存储空间的管理、文件的物理结构、目录结构和文件操作的实现,加深对文件系统内部功能和实现过程的理解。 要求: 1.在内存中开辟一个虚拟磁盘空间作为文件存储器,在其上实现一个简

MIPS单周期CPU-组成原理实验-华中科技大学

使用logisim布线完成的MIPS单周期CPU,可支持28条指令。跑马灯的代码已经装入了寄存器,可以直接开启时钟运行。

2019数学建模A题高压油管的压力控制 省一论文即代码

2019数学建模A题高压油管的压力控制省一完整论文即详细C++和Matlab代码,希望对同学们有所帮助

基于QT和OpenCV的五子棋实现源码

一个简单的五子棋应用,基于QT和OpenCV的实现源码,通过相邻棋子判断是否获胜,不包含人工智能算法,适合新手入门

Git 实用技巧

这几年越来越多的开发团队使用了Git,掌握Git的使用已经越来越重要,已经是一个开发者必备的一项技能;但很多人在刚开始学习Git的时候会遇到很多疑问,比如之前使用过SVN的开发者想不通Git提交代码为什么需要先commit然后再去push,而不是一条命令一次性搞定; 更多的开发者对Git已经入门,不过在遇到一些代码冲突、需要恢复Git代码时候就不知所措,这个时候哪些对 Git掌握得比较好的少数人,就像团队中的神一样,在队友遇到 Git 相关的问题的时候用各种流利的操作来帮助队友于水火。 我去年刚加入新团队,发现一些同事对Git的常规操作没太大问题,但对Git的理解还是比较生疏,比如说分支和分支之间的关联关系、合并代码时候的冲突解决、提交代码前未拉取新代码导致冲突问题的处理等,我在协助处理这些问题的时候也记录各种问题的解决办法,希望整理后通过教程帮助到更多对Git操作进阶的开发者。 本期教程学习方法分为“掌握基础——稳步进阶——熟悉协作”三个层次。从掌握基础的 Git的推送和拉取开始,以案例进行演示,分析每一个步骤的操作方式和原理,从理解Git 工具的操作到学会代码存储结构、演示不同场景下Git遇到问题的不同处理方案。循序渐进让同学们掌握Git工具在团队协作中的整体协作流程。 在教程中会通过大量案例进行分析,案例会模拟在工作中遇到的问题,从最基础的代码提交和拉取、代码冲突解决、代码仓库的数据维护、Git服务端搭建等。为了让同学们容易理解,对Git简单易懂,文章中详细记录了详细的操作步骤,提供大量演示截图和解析。在教程的最后部分,会从提升团队整体效率的角度对Git工具进行讲解,包括规范操作、Gitlab的搭建、钩子事件的应用等。 为了让同学们可以利用碎片化时间来灵活学习,在教程文章中大程度降低了上下文的依赖,让大家可以在工作之余进行学习与实战,并同时掌握里面涉及的Git不常见操作的相关知识,理解Git工具在工作遇到的问题解决思路和方法,相信一定会对大家的前端技能进阶大有帮助。

实用主义学Python(小白也容易上手的Python实用案例)

原价169,限时立减100元! 系统掌握Python核心语法16点,轻松应对工作中80%以上的Python使用场景! 69元=72讲+源码+社群答疑+讲师社群分享会&nbsp; 【哪些人适合学习这门课程?】 1)大学生,平时只学习了Python理论,并未接触Python实战问题; 2)对Python实用技能掌握薄弱的人,自动化、爬虫、数据分析能让你快速提高工作效率; 3)想学习新技术,如:人工智能、机器学习、深度学习等,这门课程是你的必修课程; 4)想修炼更好的编程内功,优秀的工程师肯定不能只会一门语言,Python语言功能强大、使用高效、简单易学。 【超实用技能】 从零开始 自动生成工作周报 职场升级 豆瓣电影数据爬取 实用案例 奥运冠军数据分析 自动化办公:通过Python自动化分析Excel数据并自动操作Word文档,最终获得一份基于Excel表格的数据分析报告。 豆瓣电影爬虫:通过Python自动爬取豆瓣电影信息并将电影图片保存到本地。 奥运会数据分析实战 简介:通过Python分析120年间奥运会的数据,从不同角度入手分析,从而得出一些有趣的结论。 【超人气老师】 二两 中国人工智能协会高级会员 生成对抗神经网络研究者 《深入浅出生成对抗网络:原理剖析与TensorFlow实现》一书作者 阿里云大学云学院导师 前大型游戏公司后端工程师 【超丰富实用案例】 0)图片背景去除案例 1)自动生成工作周报案例 2)豆瓣电影数据爬取案例 3)奥运会数据分析案例 4)自动处理邮件案例 5)github信息爬取/更新提醒案例 6)B站百大UP信息爬取与分析案例 7)构建自己的论文网站案例

深度学习原理+项目实战+算法详解+主流框架(套餐)

深度学习系列课程从深度学习基础知识点开始讲解一步步进入神经网络的世界再到卷积和递归神经网络,详解各大经典网络架构。实战部分选择当下最火爆深度学习框架PyTorch与Tensorflow/Keras,全程实战演示框架核心使用与建模方法。项目实战部分选择计算机视觉与自然语言处理领域经典项目,从零开始详解算法原理,debug模式逐行代码解读。适合准备就业和转行的同学们加入学习! 建议按照下列课程顺序来进行学习 (1)掌握深度学习必备经典网络架构 (2)深度框架实战方法 (3)计算机视觉与自然语言处理项目实战。(按照课程排列顺序即可)

C/C++跨平台研发从基础到高阶实战系列套餐

一 专题从基础的C语言核心到c++ 和stl完成基础强化; 二 再到数据结构,设计模式完成专业计算机技能强化; 三 通过跨平台网络编程,linux编程,qt界面编程,mfc编程,windows编程,c++与lua联合编程来完成应用强化 四 最后通过基于ffmpeg的音视频播放器,直播推流,屏幕录像,

三个项目玩转深度学习(附1G源码)

从事大数据与人工智能开发与实践约十年,钱老师亲自见证了大数据行业的发展与人工智能的从冷到热。事实证明,计算机技术的发展,算力突破,海量数据,机器人技术等,开启了第四次工业革命的序章。深度学习图像分类一直是人工智能的经典任务,是智慧零售、安防、无人驾驶等机器视觉应用领域的核心技术之一,掌握图像分类技术是机器视觉学习的重中之重。针对现有线上学习的特点与实际需求,我们开发了人工智能案例实战系列课程。打造:以项目案例实践为驱动的课程学习方式,覆盖了智能零售,智慧交通等常见领域,通过基础学习、项目案例实践、社群答疑,三维立体的方式,打造最好的学习效果。

Java基础知识面试题(2020最新版)

文章目录Java概述何为编程什么是Javajdk1.5之后的三大版本JVM、JRE和JDK的关系什么是跨平台性?原理是什么Java语言有哪些特点什么是字节码?采用字节码的最大好处是什么什么是Java程序的主类?应用程序和小程序的主类有何不同?Java应用程序与小程序之间有那些差别?Java和C++的区别Oracle JDK 和 OpenJDK 的对比基础语法数据类型Java有哪些数据类型switc...

Python界面版学生管理系统

前不久上传了一个控制台版本的学生管理系统,这个是Python界面版学生管理系统,这个是使用pycharm开发的一个有界面的学生管理系统,基本的增删改查,里面又演示视频和完整代码,有需要的伙伴可以自行下

Vue.js 2.0之全家桶系列视频课程

基于新的Vue.js 2.3版本, 目前新全的Vue.js教学视频,让你少走弯路,直达技术前沿! 1. 包含Vue.js全家桶(vue.js、vue-router、axios、vuex、vue-cli、webpack、ElementUI等) 2. 采用笔记+代码案例的形式讲解,通俗易懂

linux“开发工具三剑客”速成攻略

工欲善其事,必先利其器。Vim+Git+Makefile是Linux环境下嵌入式开发常用的工具。本专题主要面向初次接触Linux的新手,熟练掌握工作中常用的工具,在以后的学习和工作中提高效率。

JAVA初级工程师面试36问(完结)

第三十一问: 说一下线程中sleep()和wait()区别? 1 . sleep()是让正在执行的线程主动让出CPU,当时间到了,在回到自己的线程让程序运行。但是它并没有释放同步资源锁只是让出。 2.wait()是让当前线程暂时退让出同步资源锁,让其他线程来获取到这个同步资源在调用notify()方法,才会让其解除wait状态,再次参与抢资源。 3. sleep()方法可以在任何地方使用,而wait()只能在同步方法或同步块使用。 ...

java jdk 8 帮助文档 中文 文档 chm 谷歌翻译

JDK1.8 API 中文谷歌翻译版 java帮助文档 JDK API java 帮助文档 谷歌翻译 JDK1.8 API 中文 谷歌翻译版 java帮助文档 Java最新帮助文档 本帮助文档是使用谷

我以为我对Mysql事务很熟,直到我遇到了阿里面试官

太惨了,面试又被吊打

智鼎(附答案).zip

并不是完整题库,但是有智鼎在线2019年9、10、11三个月的试题,有十七套以上题目,普通的网申行测题足以对付,可以在做题时自己总结一些规律,都不是很难

Visual Assist X 破解补丁

vs a's'sixt插件 支持vs2008-vs2019 亲测可以破解,希望可以帮助到大家

150讲轻松搞定Python网络爬虫

【为什么学爬虫?】 &nbsp; &nbsp; &nbsp; &nbsp;1、爬虫入手容易,但是深入较难,如何写出高效率的爬虫,如何写出灵活性高可扩展的爬虫都是一项技术活。另外在爬虫过程中,经常容易遇到被反爬虫,比如字体反爬、IP识别、验证码等,如何层层攻克难点拿到想要的数据,这门课程,你都能学到! &nbsp; &nbsp; &nbsp; &nbsp;2、如果是作为一个其他行业的开发者,比如app开发,web开发,学习爬虫能让你加强对技术的认知,能够开发出更加安全的软件和网站 【课程设计】 一个完整的爬虫程序,无论大小,总体来说可以分成三个步骤,分别是: 网络请求:模拟浏览器的行为从网上抓取数据。 数据解析:将请求下来的数据进行过滤,提取我们想要的数据。 数据存储:将提取到的数据存储到硬盘或者内存中。比如用mysql数据库或者redis等。 那么本课程也是按照这几个步骤循序渐进的进行讲解,带领学生完整的掌握每个步骤的技术。另外,因为爬虫的多样性,在爬取的过程中可能会发生被反爬、效率低下等。因此我们又增加了两个章节用来提高爬虫程序的灵活性,分别是: 爬虫进阶:包括IP代理,多线程爬虫,图形验证码识别、JS加密解密、动态网页爬虫、字体反爬识别等。 Scrapy和分布式爬虫:Scrapy框架、Scrapy-redis组件、分布式爬虫等。 通过爬虫进阶的知识点我们能应付大量的反爬网站,而Scrapy框架作为一个专业的爬虫框架,使用他可以快速提高我们编写爬虫程序的效率和速度。另外如果一台机器不能满足你的需求,我们可以用分布式爬虫让多台机器帮助你快速爬取数据。 &nbsp; 从基础爬虫到商业化应用爬虫,本套课程满足您的所有需求! 【课程服务】 专属付费社群+每周三讨论会+1v1答疑

JavaWEB商城项目(包括数据库)

功能描述:包括用户的登录注册,以及个人资料的修改.商品的分类展示,详情,加入购物车,生成订单,到银行支付等!另外还有收货地址的和我的收藏等常用操作.环境(JDK 1.7 ,mysql 5.5,Ecli

Python数据挖掘简易入门

&nbsp; &nbsp; &nbsp; &nbsp; 本课程为Python数据挖掘方向的入门课程,课程主要以真实数据为基础,详细介绍数据挖掘入门的流程和使用Python实现pandas与numpy在数据挖掘方向的运用,并深入学习如何运用scikit-learn调用常用的数据挖掘算法解决数据挖掘问题,为进一步深入学习数据挖掘打下扎实的基础。

一学即懂的计算机视觉(第一季)

图像处理和计算机视觉的课程大家已经看过很多,但总有“听不透”,“用不了”的感觉。课程致力于创建人人都能听的懂的计算机视觉,通过生动、细腻的讲解配合实战演练,让学生真正学懂、用会。 【超实用课程内容】 课程内容分为三篇,包括视觉系统构成,图像处理基础,特征提取与描述,运动跟踪,位姿估计,三维重构等内容。课程理论与实战结合,注重教学内容的可视化和工程实践,为人工智能视觉研发及算法工程师等相关高薪职位就业打下坚实基础。 【课程如何观看?】 PC端:https://edu.csdn.net/course/detail/26281 移动端:CSDN 学院APP(注意不是CSDN APP哦) 本课程为录播课,课程2年有效观看时长,但是大家可以抓紧时间学习后一起讨论哦~ 【学员专享增值服务】 源码开放 课件、课程案例代码完全开放给你,你可以根据所学知识,自行修改、优化 下载方式:电脑登录https://edu.csdn.net/course/detail/26281,点击右下方课程资料、代码、课件等打包下载

软件测试2小时入门

本课程内容系统、全面、简洁、通俗易懂,通过2个多小时的介绍,让大家对软件测试有个系统的理解和认识,具备基本的软件测试理论基础。 主要内容分为5个部分: 1 软件测试概述,了解测试是什么、测试的对象、原则、流程、方法、模型;&nbsp; 2.常用的黑盒测试用例设计方法及示例演示;&nbsp; 3 常用白盒测试用例设计方法及示例演示;&nbsp; 4.自动化测试优缺点、使用范围及示例‘;&nbsp; 5.测试经验谈。

初级玩转Linux+Ubuntu(嵌入式开发基础课程)

课程主要面向嵌入式Linux初学者、工程师、学生 主要从一下几方面进行讲解: 1.linux学习路线、基本命令、高级命令 2.shell、vi及vim入门讲解 3.软件安装下载、NFS、Samba、FTP等服务器配置及使用

2019 Python开发者日-培训

本次活动将秉承“只讲技术,拒绝空谈”的理念,邀请十余位身处一线的Python技术专家,重点围绕Web开发、自动化运维、数据分析、人工智能等技术模块,分享真实生产环境中使用Python应对IT挑战的真知灼见。此外,针对不同层次的开发者,大会还安排了深度培训实操环节,为开发者们带来更多深度实战的机会。

快速入门Android开发 视频 教程 android studio

这是一门快速入门Android开发课程,顾名思义是让大家能快速入门Android开发。 学完能让你学会如下知识点: Android的发展历程 搭建Java开发环境 搭建Android开发环境 Android Studio基础使用方法 Android Studio创建项目 项目运行到模拟器 项目运行到真实手机 Android中常用控件 排查开发中的错误 Android中请求网络 常用Android开发命令 快速入门Gradle构建系统 项目实战:看美图 常用Android Studio使用技巧 项目签名打包 如何上架市场

机器学习初学者必会的案例精讲

通过六个实际的编码项目,带领同学入门人工智能。这些项目涉及机器学习(回归,分类,聚类),深度学习(神经网络),底层数学算法,Weka数据挖掘,利用Git开源项目实战等。

4小时玩转微信小程序——基础入门与微信支付实战

这是一个门针对零基础学员学习微信小程序开发的视频教学课程。课程采用腾讯官方文档作为教程的唯一技术资料来源。杜绝网络上质量良莠不齐的资料给学员学习带来的障碍。 视频课程按照开发工具的下载、安装、使用、程序结构、视图层、逻辑层、微信小程序等几个部分组织课程,详细讲解整个小程序的开发过程

相关热词 c# dbml文件 修改 c#遍历tree c# 能够控制单片机 c#对象写入数据库 c# 添加activex c#2005 json c# 数据库在云端 c# 字符串移位加密 c#禁用滚轮 c#实体类list去重复
立即提问