eclipse+maven+tomcat进行debug报错

按照公司的环境配置文档
Maven,jdk,tomcat都配置好了
图片说明
图片说明
tomcat是7.0安装版的

然后导入了一个新建的Maven项目,pom.xml配置如下

<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>


然后在debug configuration中新加了一个debug
图片说明
在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中加上了

org.codehaus.mojo
tomcat-maven-plugin
1.1

/wp
8080
UTF-8
http://localhost:8080/manager/html
tomcat


debug没有报错,但是访问项目的时候一片空白,去到项目下边target下的tomcat,,,webapp下没有任何项目

1个回答

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
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下没有任何项目

eclipse 中写的一个maven工程 debug启动报错 在线等 求大神解决啊

[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ taotao-manage-web --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 9 resources [INFO] [INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ taotao-manage-web --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] <<< tomcat7-maven-plugin:2.2:run (default-cli) < process-classes @ taotao-manage-web <<< [WARNING] The artifact org.apache.commons:commons-io:jar:1.3.2 has been relocated to commons-io:commons-io:jar:1.3.2 [INFO] [INFO] --- tomcat7-maven-plugin:2.2:run (default-cli) @ taotao-manage-web --- [INFO] Running war on http://localhost:8081/ [INFO] Using existing Tomcat server configuration at D:\work\taotao-manage\taotao-manage-web\target\tomcat [ERROR] error creating fake context.xml : 系统找不到指定的路径。 java.io.IOException: 系统找不到指定的路径。 at java.io.WinNTFileSystem.createFileExclusively(Native Method) at java.io.File.createTempFile(File.java:2024) at java.io.File.createTempFile(File.java:2070) at org.apache.tomcat.maven.plugin.tomcat7.run.RunMojo.getContextFile(RunMojo.java:190) at org.apache.tomcat.maven.plugin.tomcat7.run.AbstractRunMojo.createContext(AbstractRunMojo.java:653) at org.apache.tomcat.maven.plugin.tomcat7.run.AbstractRunMojo.startContainer(AbstractRunMojo.java:1091) at org.apache.tomcat.maven.plugin.tomcat7.run.AbstractRunMojo.execute(AbstractRunMojo.java:592) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216) at org.apache.maven.cli.MavenCli.main(MavenCli.java:160) 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:483) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4.942 s [INFO] Finished at: 2017-06-09T09:35:17+08:00 [INFO] Final Memory: 15M/136M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.2:run (default-cli) on project taotao-manage-web: error creating fake context.xml : 系统找不到指定的路径。 -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

在eclipse IDE中如何便捷地debug maven项目?

最近在学习使用java maven,但是发现想运行代码调试程序,将运行结果打印在console上挺麻烦的。需要先把maven项目run一遍(compile or test),maven就会帮你生成class文件,然后运行main主类java文件,eclipse就会一直用那个class文件来编译。 如果只run main主类,无论怎么修改java文件里的代码,在console上显示的运行结果都是不变的(因为class文件未更新),所以每次改完代码想看看最新的运行结果,就要先run maven项目再run main主类,debug有点麻烦,想请教一下大佬们如何在maven项目中,如何像普通的java项目那样,改完代码直接run 主类就够了? 看过网上的教程,都是再装一个jetty的插件,用jetty来run项目,但是那个好像更多的是开发web用的,而且我安装了jetty还是不行,也请教一下大佬们maven要怎么用比较方便。

启动tomcat,maven报错:[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginConfigurationException

``` [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building taotao-manage-web 1.0.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] >>> tomcat7-maven-plugin:2.2:run (default-cli) > process-classes @ taotao-manage-web >>> [WARNING] The artifact org.apache.commons:commons-io:jar:1.3.2 has been relocated to commons-io:commons-io:jar:1.3.2 [INFO] [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ taotao-manage-web --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 7 resources [INFO] [INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ taotao-manage-web --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] <<< tomcat7-maven-plugin:2.2:run (default-cli) < process-classes @ taotao-manage-web <<< [WARNING] The artifact org.apache.commons:commons-io:jar:1.3.2 has been relocated to commons-io:commons-io:jar:1.3.2 [INFO] [INFO] --- tomcat7-maven-plugin:2.2:run (default-cli) @ taotao-manage-web --- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.444 s [INFO] Finished at: 2019-09-18T09:51:46+08:00 [INFO] Final Memory: 12M/154M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.2:run (default-cli) on project taotao-manage-web: Unable to parse configuration of mojo org.apache.tomcat.maven:tomcat7-maven-plugin:2.2:run for parameter project: Cannot find default setter in class org.apache.maven.project.MavenProject -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginConfigurationException ``` 烦烦烦,几个这种Bug,刚刚弄完一个,现在又出现一个,repository换了一个新的,前面的几个这样的解决了,现在又冒出一个这个问题。求大佬帮忙!

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在tomcat上部署的项目没有办法更新

在tomcat上webapps里删除此项目然后重新部署,发现服务器上始终都是最开始的那个项目 ,项目上右键debug as---debug on servier总会提示XXX is required and cannot be removed on server,求助 - -!

maven项目debug tomcat:run为啥不能自动关联jar包的源代码

所有jar包的源代码都已经自动下载了,并且在项目的jar包中打开class文件是可以看到源代码的,在Debug Configurations的source里面已经把项目和m2_repo都加进去了,在debug的时候死活就是看不到源代码,报source not found,网上找了很多,都没有用,并且没有说到关键点上,求遇到这个坑的大侠帮帮忙。

Eclipse debug模式下修改代码不能生效

Eclipse debug模式下修改代码不能生效 请问各位大神 ,有什么好的办法没?

maven项目中,使用clean tomcat7:run启动时报如下错误,小白,求大神解救。在pom.xml中已经配置了tomcat7-maven-plugin。

maven项目中,使用clean tomcat7:run启动时报如下错误,小白,求大神解救。在pom.xml中已经配置了tomcat7-maven-plugin。 [INFO] Scanning for projects... [INFO] Downloading from : https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml [INFO] Downloading from : https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml [INFO] Downloaded from : https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml (20 kB at 5.0 kB/s) [INFO] Downloaded from : https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml (14 kB at 1.3 kB/s) [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 10.812 s [INFO] Finished at: 2019-09-23T21:31:16+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] No plugin found for prefix 'tomcat7' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (D:\MATERIAL\Maven\repository\repository), central (https://repo.maven.apache.org/maven2)] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundForPrefixException

Tomcat启动报错 显示404页面

五月 06, 2019 9:08:54 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Server version: Apache Tomcat/8.0.47 五月 06, 2019 9:08:54 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Server built: Sep 29 2017 13:46:41 UTC 五月 06, 2019 9:08:54 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Server number: 8.0.47.0 五月 06, 2019 9:08:54 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: OS Name: Windows 7 五月 06, 2019 9:08:54 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: OS Version: 6.1 五月 06, 2019 9:08:54 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Architecture: x86 五月 06, 2019 9:08:54 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Java Home: C:\Program Files (x86)\Java\jdk1.8.0_144\jre 五月 06, 2019 9:08:54 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: JVM Version: 1.8.0_144-b01 五月 06, 2019 9:08:54 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: JVM Vendor: Oracle Corporation 五月 06, 2019 9:08:54 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: CATALINA_BASE: D:\work\git\shixi\.metadata\.plugins\org.eclipse.wst.server.core\tmp1 五月 06, 2019 9:08:54 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: CATALINA_HOME: E:\shixi\download\tomcat8 五月 06, 2019 9:08:54 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -Dcatalina.base=D:\work\git\shixi\.metadata\.plugins\org.eclipse.wst.server.core\tmp1 五月 06, 2019 9:08:54 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -Dcatalina.home=E:\shixi\download\tomcat8 五月 06, 2019 9:08:54 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -Dwtp.deploy=D:\work\git\shixi\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps 五月 06, 2019 9:08:54 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -Djava.endorsed.dirs=E:\shixi\download\tomcat8\endorsed 五月 06, 2019 9:08:54 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -Dfile.encoding=GBK 五月 06, 2019 9:08:54 下午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent 信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files (x86)\Java\jdk1.8.0_144\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files (x86)/Java/jdk1.8.0_144/bin/../jre/bin/client;C:/Program Files (x86)/Java/jdk1.8.0_144/bin/../jre/bin;C:/Program Files (x86)/Java/jdk1.8.0_144/bin/../jre/lib/i386;E:\Rational\Common;C:\Program Files (x86)\Rational\common;C:\Windows\system32;C:\Windows;C:\Windows\system32\wbem;C:\Program Files (x86)\Java\jdk1.8.0_144\bin;C:\Program Files\Java\jre1.7.0_80\bin;E:\shixi\download\eclipse\eclipse;;. 五月 06, 2019 9:08:55 下午 org.apache.coyote.AbstractProtocol init 信息: Initializing ProtocolHandler ["http-nio-8080"] 五月 06, 2019 9:08:55 下午 org.apache.tomcat.util.net.NioSelectorPool getSharedSelector 信息: Using a shared selector for servlet write/read 五月 06, 2019 9:08:55 下午 org.apache.coyote.AbstractProtocol init 信息: Initializing ProtocolHandler ["ajp-nio-8009"] 五月 06, 2019 9:08:55 下午 org.apache.tomcat.util.net.NioSelectorPool getSharedSelector 信息: Using a shared selector for servlet write/read 五月 06, 2019 9:08:55 下午 org.apache.catalina.startup.Catalina load 信息: Initialization processed in 2045 ms 五月 06, 2019 9:08:55 下午 org.apache.catalina.core.StandardService startInternal 信息: Starting service Catalina 五月 06, 2019 9:08:55 下午 org.apache.catalina.core.StandardEngine startInternal 信息: Starting Servlet Engine: Apache Tomcat/8.0.47 五月 06, 2019 9:09:01 下午 org.apache.jasper.servlet.TldScanner scanJars 信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. 五月 06, 2019 9:09:01 下午 org.apache.catalina.startup.HostConfig deployDescriptor 信息: Deploying configuration descriptor D:\work\git\shixi\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\conf\Catalina\localhost\Research.xml 五月 06, 2019 9:09:01 下午 org.apache.catalina.startup.SetContextPropertiesRule begin 警告: [SetContextPropertiesRule]{Context} Setting property 'source' to 'org.eclipse.jst.jee.server:Research' did not find a matching property. 五月 06, 2019 9:09:09 下午 org.apache.jasper.servlet.TldScanner scanJars 信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. 五月 06, 2019 9:09:09 下午 org.apache.catalina.core.ApplicationContext log 信息: Initializing Spring root WebApplicationContext 五月 06, 2019 9:09:09 下午 org.apache.catalina.core.StandardContext listenerStart 严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from file [D:\work\git\shixi\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\Research\WEB-INF\classes\applicationContext.xml]; nested exception is java.lang.IllegalStateException: Context namespace element 'component-scan' and its parser class [org.springframework.context.annotation.ComponentScanBeanDefinitionParser] are only available on JDK 1.5 and higher at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:420) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:342) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149) at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124) at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:92) at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123) at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:422) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352) at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4853) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5314) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:753) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:729) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:621) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1835) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 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: java.lang.IllegalStateException: Context namespace element 'component-scan' and its parser class [org.springframework.context.annotation.ComponentScanBeanDefinitionParser] are only available on JDK 1.5 and higher at org.springframework.context.config.ContextNamespaceHandler$1.parse(ContextNamespaceHandler.java:65) at org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:69) at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1297) at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1287) at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:135) at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:92) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:507) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:398) ... 26 more 五月 06, 2019 9:09:09 下午 org.apache.catalina.core.StandardContext startInternal 严重: One or more listeners failed to start. Full details will be found in the appropriate container log file 五月 06, 2019 9:09:09 下午 org.apache.catalina.core.StandardContext startInternal 严重: Context [/Research] startup failed due to previous errors 五月 06, 2019 9:09:09 下午 org.apache.catalina.core.ApplicationContext log 信息: Closing Spring root WebApplicationContext 21:09:09,816 ERROR ContextLoader:215 - Context initialization failed org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from file [D:\work\git\shixi\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\Research\WEB-INF\classes\applicationContext.xml]; nested exception is java.lang.IllegalStateException: Context namespace element 'component-scan' and its parser class [org.springframework.context.annotation.ComponentScanBeanDefinitionParser] are only available on JDK 1.5 and higher at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:420) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:342) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149) at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124) at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:92) at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123) at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:422) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352) at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4853) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5314) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:753) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:729) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:621) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1835) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 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: java.lang.IllegalStateException: Context namespace element 'component-scan' and its parser class [org.springframework.context.annotation.ComponentScanBeanDefinitionParser] are only available on JDK 1.5 and higher at org.springframework.context.config.ContextNamespaceHandler$1.parse(ContextNamespaceHandler.java:65) at org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:69) at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1297) at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1287) at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:135) at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:92) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:507) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:398) ... 26 more 五月 06, 2019 9:09:09 下午 org.apache.catalina.startup.HostConfig deployDescriptor 信息: Deployment of configuration descriptor D:\work\git\shixi\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\conf\Catalina\localhost\Research.xml has finished in 8,130 ms 五月 06, 2019 9:09:09 下午 org.apache.coyote.AbstractProtocol start 信息: Starting ProtocolHandler ["http-nio-8080"] 五月 06, 2019 9:09:09 下午 org.apache.coyote.AbstractProtocol start 信息: Starting ProtocolHandler ["ajp-nio-8009"] 五月 06, 2019 9:09:09 下午 org.apache.catalina.startup.Catalina start 信息: Server startup in 14071 ms

eclipse debug调试,在代码中的那个跟踪光标没有了,怎么设置?

eclipse debug调试,在代码中的那个跟踪光标没有了,怎么设置? 线程行数再变化,参数也显示,但是光标就是不显示出来!!不是tomcat运行,用的maven! 谁给提个解决方案 !!求大神!!!!

tmocat7:run 启动不了咋回事啊

[INFO] Scanning for projects... [INFO] Downloading: http://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml [INFO] Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml [INFO] Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml (13 KB at 11.2 KB/sec) [INFO] Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml (20 KB at 17.4 KB/sec) [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.465s [INFO] Finished at: Tue Jul 11 21:46:26 CST 2017 [INFO] Final Memory: 10M/231M [INFO] ------------------------------------------------------------------------ [ERROR] No plugin found for prefix 'tomcat7' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (D:\maven\apache-maven-3.1.1\repository), central (http://repo.maven.apache.org/maven2)] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundForPrefixException

eclipse debug模式看不到代码视图!!!其他正常

查的说是因为.metadata下文件sb了,要重新导入项目,项目太大,求问还有没有其他方法,比如直接操作.metadata下修改配置文件或者替换jar包。 eclipse 在debug模式下无法查看视图!!! 在svn远程查看历史代码无法查看!!! 报错: The Class File Viewer cannot handle the given input ('org.tigris.subversion.subclipse.ui.editor.RemoteFileEditorInput'). org.eclipse.core.runtime.CoreException: The Class File Viewer cannot handle the given input ('org.tigris.subversion.subclipse.ui.editor.RemoteFileEditorInput'). at org.eclipse.jdt.internal.ui.javaeditor.ClassFileEditor.doSetInput(ClassFileEditor.java:682) at org.eclipse.ui.texteditor.AbstractTextEditor$5.run(AbstractTextEditor.java:3154) at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:437) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:353) at org.eclipse.ui.internal.WorkbenchWindow$14.run(WorkbenchWindow.java:2184) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2180) at org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(AbstractTextEditor.java:3172) at org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTextEditor.java:3197) at org.eclipse.ui.internal.EditorReference.initialize(EditorReference.java:362) at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:318) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55) at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:966) at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:931) at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:151) at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:375) at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:294) at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:162) at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:105) at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:74) at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:56) at org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.createWidget(ContributedPartRenderer.java:129) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:975) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:651) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:757) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:728) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:722) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:706) at org.eclipse.e4.ui.internal.workbench.PartServiceImpl$1.handleEvent(PartServiceImpl.java:104) at org.eclipse.e4.ui.services.internal.events.UIEventHandler$1.run(UIEventHandler.java:40) at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:233) at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:145) at org.eclipse.swt.widgets.Display.syncExec(Display.java:4821) at org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(E4Application.java:211) at org.eclipse.e4.ui.services.internal.events.UIEventHandler.handleEvent(UIEventHandler.java:36) at org.eclipse.equinox.internal.event.EventHandlerWrapper.handleEvent(EventHandlerWrapper.java:201) at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:197) at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:1) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148) at org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(EventAdminImpl.java:135) at org.eclipse.equinox.internal.event.EventAdminImpl.sendEvent(EventAdminImpl.java:78) at org.eclipse.equinox.internal.event.EventComponent.sendEvent(EventComponent.java:39) at org.eclipse.e4.ui.services.internal.events.EventBroker.send(EventBroker.java:94) at org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:60) at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:374) at org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl.setSelectedElement(ElementContainerImpl.java:173) at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.showElementInWindow(ModelServiceImpl.java:617) at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.bringToTop(ModelServiceImpl.java:581) at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.delegateBringToTop(PartServiceImpl.java:770) at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.bringToTop(PartServiceImpl.java:401) at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.showPart(PartServiceImpl.java:1214)

maven项目导入到Eclipse中红色叹号!

最近看一个开源CMS系统Magnolia。 环境: Ubuntu14,Eclipse4.4 for j2ee,jdk1.6,tomcat6,maven2.2.1 按照文档,写了一个小项目。用maven。在命令行创建的项目结构大概: myProject ----myProject-webapp ----myTemplateModule 下面两个是上面的module。 在命令行中已经clean install成功。 但是导入到Eclipse中myProject-webapp项目的图标上有红色感叹号。 ![CSDN移动问答][1] 网上说是jar引用问题。我在buildpath》library中没有发现有问题的jar啊,也尝试过order and export,sellect all。打开.classpath里面貌似也没有引用什么jar啊。内容如下:.classpath. 另外,myProject项目上还有个红叉,其中的一个文件引用的某个类,Eclipse说找不到,可是我在library中都找到这个类了。 ![CSDN移动问答][2] 后来,我不管这个红色提醒,就把myProject-webapp部署在tomcat上面了。运行错误: 2014-9-4 18:25:42 org.apache.catalina.startup.TldConfig tldScanJar 严重: Exception processing JAR at resource path /home/user/.m2/repository/com/vaadin/vaadin-shared/7.1.7/vaadin-shared-7.1.7.jar in context /myProject-webapp java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.<init>(ZipFile.java:127) at java.util.jar.JarFile.<init>(JarFile.java:136) at java.util.jar.JarFile.<init>(JarFile.java:100) at org.apache.catalina.startup.TldConfig.tldScanJar(TldConfig.java:393) at org.apache.catalina.startup.TldConfig.execute(TldConfig.java:320) at org.apache.catalina.startup.TldConfig.lifecycleEvent(TldConfig.java:688) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4616) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057) at org.apache.catalina.core.StandardHost.start(StandardHost.java:822) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) at org.apache.catalina.core.StandardService.start(StandardService.java:525) at org.apache.catalina.core.StandardServer.start(StandardServer.java:754) at org.apache.catalina.startup.Catalina.start(Catalina.java:595) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) 2014-9-4 18:25:42 org.apache.catalina.startup.TldConfig tldScanJar 严重: Exception processing JAR at resource path /home/user/.m2/repository/org/jsoup/jsoup/1.6.3/jsoup-1.6.3.jar in context /myProject-webapp ............ ......... **附件:** .classpath <?xml version="1.0" encoding="UTF-8"?> <classpath> <classpathentry kind="src" output="target/classes" path="src/main/java"> <attributes> <attribute name="optional" value="true"/> <attribute name="maven.pomderived" value="true"/> </attributes> </classpathentry> <classpathentry kind="src" output="target/test-classes" path="src/test/java"> <attributes> <attribute name="optional" value="true"/> <attribute name="maven.pomderived" value="true"/> </attributes> </classpathentry> <classpathentry exported="true" kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"> <attributes> <attribute name="maven.pomderived" value="true"/> <attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/> </attributes> </classpathentry> <classpathentry kind="con" path="org.eclipse.jst.server.core.container/org.eclipse.jst.server.tomcat.runtimeTarget/Apache Tomcat v6.0"> <attributes> <attribute name="owner.project.facets" value="jst.web"/> </attributes> </classpathentry> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk1.6.0_45"> <attributes> <attribute name="owner.project.facets" value="java"/> </attributes> </classpathentry> <classpathentry kind="output" path="target/classes"/> </classpath> [1]: http://my.csdn.net/my/album/detail/1784229 [2]: http://my.csdn.net/my/album/detail/1784231

Tomcat的server.xml配置文件中Context 里的path修改问题

各位大神,Tomcat的server.xml配置文件中Context 里的path修改后,启动服务器项目名称没有问题,再次启动,配置文件中的path又变回去了,而且项目名称也变成原来未更改前的了,怎么解决?我的是Maven项目,各位帮帮忙!

java的maven项目直接run on server不能启动但是run config可以

![图片说明](https://img-ask.csdn.net/upload/201706/14/1497424788_536986.png) 如图 家里这句话就可以 我知道在maven中tomcat run 但是为什么直接run on server不行呢???求大神解答

tomcat导致注解失效问题

六月 14, 2017 4:42:53 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Server version: Apache Tomcat/7.0.70 六月 14, 2017 4:42:53 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Server built: Jun 15 2016 16:27:45 UTC 六月 14, 2017 4:42:53 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Server number: 7.0.70.0 六月 14, 2017 4:42:53 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: OS Name: Windows 8.1 六月 14, 2017 4:42:53 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: OS Version: 6.3 六月 14, 2017 4:42:53 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Architecture: amd64 六月 14, 2017 4:42:53 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Java Home: C:\Program Files\Java\jre7 六月 14, 2017 4:42:53 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: JVM Version: 1.7.0_80-b15 六月 14, 2017 4:42:53 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: JVM Vendor: Oracle Corporation 六月 14, 2017 4:42:53 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: CATALINA_BASE: D:\workspace\cecook\.metadata\.plugins\org.eclipse.wst.server.core\tmp0 六月 14, 2017 4:42:53 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: CATALINA_HOME: D:\000-webserver\apache-tomcat-7.0.70\apache-tomcat-7.0.70 六月 14, 2017 4:42:53 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -Dcatalina.base=D:\workspace\cecook\.metadata\.plugins\org.eclipse.wst.server.core\tmp0 六月 14, 2017 4:42:53 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -Dcatalina.home=D:\000-webserver\apache-tomcat-7.0.70\apache-tomcat-7.0.70 六月 14, 2017 4:42:53 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -Dwtp.deploy=D:\workspace\cecook\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps 六月 14, 2017 4:42:53 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -Djava.endorsed.dirs=D:\000-webserver\apache-tomcat-7.0.70\apache-tomcat-7.0.70\endorsed 六月 14, 2017 4:42:53 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -Dfile.encoding=UTF-8 六月 14, 2017 4:42:53 下午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent 信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre7\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files/Java/jre7/bin/server;C:/Program Files/Java/jre7/bin;C:/Program Files/Java/jre7/lib/amd64;C:\Program Files\Java\jre7\bin;C:\Program Files\Java\jdk1.7.0_80\bin;C:\Program Files\Java\jdk1.7.0_80\jre\bin;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;G:\sql2008安装\共享功能目录86\100\Tools\Binn\;G:\sql2008安装\共享功能目录\100\Tools\Binn\;G:\sql2008安装\共享功能目录\100\DTS\Binn\;G:\sql2008安装\共享功能目录86\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;G:\sql2008安装\共享功能目录86\100\DTS\Binn\;C:\Program Files\Java\jdk1.8.0_45\bin;C:\Program Files\MySQL\MySQL Server 5.7\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files\VisualSVN Server\bin;D:\YouMeek-Maven-Local-Repository-20160322\maven\maven3.1.1\bin;C:\eclipse-jee-luna-R-win32-x86_64\eclipse;;. 六月 14, 2017 4:42:53 下午 org.apache.coyote.AbstractProtocol init 信息: Initializing ProtocolHandler ["http-bio-8080"] 六月 14, 2017 4:42:53 下午 org.apache.coyote.AbstractProtocol init 信息: Initializing ProtocolHandler ["ajp-bio-8009"] 六月 14, 2017 4:42:53 下午 org.apache.catalina.startup.Catalina load 信息: Initialization processed in 897 ms 六月 14, 2017 4:42:53 下午 org.apache.catalina.core.StandardService startInternal 信息: Starting service Catalina 六月 14, 2017 4:42:53 下午 org.apache.catalina.core.StandardEngine startInternal 信息: Starting Servlet Engine: Apache Tomcat/7.0.70 六月 14, 2017 4:42:54 下午 org.apache.catalina.util.SessionIdGeneratorBase createSecureRandom 信息: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [167] milliseconds. 六月 14, 2017 4:42:54 下午 org.apache.catalina.startup.HostConfig deployDescriptor 信息: Deploying configuration descriptor D:\workspace\cecook\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\conf\Catalina\localhost\scrm.xml 六月 14, 2017 4:42:54 下午 org.apache.catalina.startup.SetContextPropertiesRule begin 警告: [SetContextPropertiesRule]{Context} Setting property 'source' to 'org.eclipse.jst.jee.server:scrm' did not find a matching property. 六月 14, 2017 4:43:00 下午 org.apache.catalina.startup.TldConfig execute 信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. 六月 14, 2017 4:43:00 下午 org.apache.catalina.core.ApplicationContext log 信息: No Spring WebApplicationInitializer types detected on classpath 六月 14, 2017 4:43:00 下午 org.apache.catalina.core.ApplicationContext log 信息: Initializing Spring root WebApplicationContext --QuartzJob()开始执行-- 六月 14, 2017 4:43:06 下午 org.apache.catalina.core.ApplicationContext log 信息: Initializing Spring FrameworkServlet 'SpringMVC' 六月 14, 2017 4:43:08 下午 org.apache.catalina.startup.HostConfig deployDescriptor 信息: Deployment of configuration descriptor D:\workspace\cecook\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\conf\Catalina\localhost\scrm.xml has finished in 13,550 ms 六月 14, 2017 4:43:08 下午 org.apache.coyote.AbstractProtocol start 信息: Starting ProtocolHandler ["http-bio-8080"] 六月 14, 2017 4:43:08 下午 org.apache.coyote.AbstractProtocol start 信息: Starting ProtocolHandler ["ajp-bio-8009"] 六月 14, 2017 4:43:08 下午 org.apache.catalina.startup.Catalina start 信息: Server startup in 14408 ms 运行完发现注解失效了,不知道抽了什么疯!!!!求解决

拿到公司项目,放到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报错:An internal error occurred during: "Refreshing workspace"

An internal error occurred during: "Refreshing workspace". Tree element '/ekp/WebContent/dbcenter/report/doc/report_doc_online_search/index.jsp' not found. eclipse从Svn检出项目或导入项目一直报错 ![图片说明](https://img-ask.csdn.net/upload/201904/27/1556349834_724355.png) 文件存在,尝试过重装eclipse,本地环境,系统;报错一直存在

同一工程Debug as java application和Debug on server运行差异

运行一个简单的二维码扫描并显示小程序。 Debug as java application运行正常,弹出摄像头扫描实时显示窗口。 Debug on server 就不行,没有显示。注意是同一个工程。我为了让程序可以按照java application 运行加了一个main方法类index1.java。在web的jsp里也有调用同一方法的地方。但是web运行就不能调用摄像头。 下面是运行main方法正常的状态,我们看到可以在窗口的摄像头图像中看到我自己: ![图片说明](https://img-ask.csdn.net/upload/201708/02/1501657898_875829.png) ![图片说明](https://img-ask.csdn.net/upload/201708/02/1501657910_517075.png) ![图片说明](https://img-ask.csdn.net/upload/201708/02/1501657918_253389.png) 下面是同一工程Debug on server运行结果,摄像头图像没有显示: ![图片说明](https://img-ask.csdn.net/upload/201708/02/1501657938_552902.png) ![图片说明](https://img-ask.csdn.net/upload/201708/02/1501657957_994380.png) ![图片说明](https://img-ask.csdn.net/upload/201708/02/1501657965_324320.png) index1.java和index.jsp本质上都是调用human的getee()方法. 没有参数进入,没有返回参数. ![图片说明](https://img-ask.csdn.net/upload/201708/02/1501658019_737464.png) ![图片说明](https://img-ask.csdn.net/upload/201708/02/1501658026_205896.png) ![图片说明](https://img-ask.csdn.net/upload/201708/02/1501658034_797248.png) 下面是调用摄像头的部分,我原来使用蓝色代码,无外乎就是跳出摄像头选择菜单,结果是一样的,bug一样. ![图片说明](https://img-ask.csdn.net/upload/201708/02/1501658049_569105.png) TOMCAT 6.0里面的lib文件夹,我都手动复制了相应的jar文件。 请问各位大神为什么run in java apllication 和 run in server 结果会不一样?

软件测试入门、SQL、性能测试、测试管理工具

软件测试2小时入门,让您快速了解软件测试基本知识,有系统的了解; SQL一小时,让您快速理解和掌握SQL基本语法 jmeter性能测试 ,让您快速了解主流来源性能测试工具jmeter 测试管理工具-禅道,让您快速学会禅道的使用,学会测试项目、用例、缺陷的管理、

计算机组成原理实验教程

西北工业大学计算机组成原理实验课唐都仪器实验帮助,同实验指导书。分为运算器,存储器,控制器,模型计算机,输入输出系统5个章节

Java 最常见的 200+ 面试题:面试必备

这份面试清单是从我 2015 年做了 TeamLeader 之后开始收集的,一方面是给公司招聘用,另一方面是想用它来挖掘在 Java 技术栈中,还有那些知识点是我不知道的,我想找到这些技术盲点,然后修复它,以此来提高自己的技术水平。虽然我是从 2009 年就开始参加编程工作了,但我依旧觉得自己现在要学的东西很多,并且学习这些知识,让我很有成就感和满足感,那所以何乐而不为呢? 说回面试的事,这份面试...

winfrom中嵌套html,跟html的交互

winfrom中嵌套html,跟html的交互,源码就在里面一看就懂,很简单

玩转Python-Python3基础入门

总课时80+,提供源码和相关资料 本课程从Python零基础到纯Python项目实战。内容详细,案例丰富,覆盖了Python知识的方方面面,学完后不仅对Python知识有个系统化的了解,让你从Python小白变编程大牛! 课程包含: 1.python安装 2.变量、数据类型和运算符 3.选择结构 4.循环结构 5.函数和模块 6.文件读写 7.了解面向对象 8.异常处理

程序员的兼职技能课

获取讲师答疑方式: 在付费视频第一节(触摸命令_ALL)片头有二维码及加群流程介绍 限时福利 原价99元,今日仅需39元!购课添加小助手(微信号:csdn590)按提示还可领取价值800元的编程大礼包! 讲师介绍: 苏奕嘉&nbsp;前阿里UC项目工程师 脚本开发平台官方认证满级(六级)开发者。 我将如何教会你通过【定制脚本】赚到你人生的第一桶金? 零基础程序定制脚本开发课程,是完全针对零脚本开发经验的小白而设计,课程内容共分为3大阶段: ①前期将带你掌握Q开发语言和界面交互开发能力; ②中期通过实战来制作有具体需求的定制脚本; ③后期将解锁脚本的更高阶玩法,打通任督二脉; ④应用定制脚本合法赚取额外收入的完整经验分享,带你通过程序定制脚本开发这项副业,赚取到你的第一桶金!

HoloLens2开发入门教程

本课程为HoloLens2开发入门教程,讲解部署开发环境,安装VS2019,Unity版本,Windows SDK,创建Unity项目,讲解如何使用MRTK,编辑器模拟手势交互,打包VS工程并编译部署应用到HoloLens上等。

基于VHDL的16位ALU简易设计

基于VHDL的16位ALU简易设计,可完成基本的加减、带进位加减、或、与等运算。

MFC一站式终极全套课程包

该套餐共包含从C小白到C++到MFC的全部课程,整套学下来绝对成为一名C++大牛!!!

利用Verilog实现数字秒表(基本逻辑设计分频器练习)

设置复位开关。当按下复位开关时,秒表清零并做好计时准备。在任何情况下只要按下复位开关,秒表都要无条件地进行复位操作,即使是在计时过程中也要无条件地进行清零操作。 设置启/停开关。当按下启/停开关后,将

董付国老师Python全栈学习优惠套餐

购买套餐的朋友可以关注微信公众号“Python小屋”,上传付款截图,然后领取董老师任意图书1本。

Python可以这样学(第一季:Python内功修炼)

董付国系列教材《Python程序设计基础》、《Python程序设计(第2版)》、《Python可以这样学》配套视频,讲解Python 3.5.x和3.6.x语法、内置对象用法、选择与循环以及函数设计与使用、lambda表达式用法、字符串与正则表达式应用、面向对象编程、文本文件与二进制文件操作、目录操作与系统运维、异常处理结构。

计算机操作系统 第三版.pdf

计算机操作系统 第三版 本书全面介绍了计算机系统中的一个重要软件——操作系统(OS),本书是第三版,对2001年出版的修订版的各章内容均作了较多的修改,基本上能反映当前操作系统发展的现状,但章节名称基

技术大佬:我去,你写的 switch 语句也太老土了吧

昨天早上通过远程的方式 review 了两名新来同事的代码,大部分代码都写得很漂亮,严谨的同时注释也很到位,这令我非常满意。但当我看到他们当中有一个人写的 switch 语句时,还是忍不住破口大骂:“我擦,小王,你丫写的 switch 语句也太老土了吧!” 来看看小王写的代码吧,看完不要骂我装逼啊。 private static String createPlayer(PlayerTypes p...

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

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

微信公众平台开发入门

本套课程的设计完全是为初学者量身打造,课程内容由浅入深,课程讲解通俗易懂,代码实现简洁清晰。通过本课程的学习,学员能够入门微信公众平台开发,能够胜任企业级的订阅号、服务号、企业号的应用开发工作。 通过本课程的学习,学员能够对微信公众平台有一个清晰的、系统性的认识。例如,公众号是什么,它有什么特点,它能做什么,怎么开发公众号。 其次,通过本课程的学习,学员能够掌握微信公众平台开发的方法、技术和应用实现。例如,开发者文档怎么看,开发环境怎么搭建,基本的消息交互如何实现,常用的方法技巧有哪些,真实应用怎么开发。

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答疑

SEIR课程设计源码与相关城市数据.rar

SEIR结合学报与之前博客结合所做的一些改进,选择其中三个城市进行拟合仿真SEIR结合学报与之前博客结合所做的一些改进,选择其中三个城市进行拟合仿真SEIR结合学报与之前博客结合所做的一些改进,选择其

Python数据挖掘简易入门

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

2019 AI开发者大会

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

Java面试题大全(2020版)

发现网上很多Java面试题都没有答案,所以花了很长时间搜集整理出来了这套Java面试题大全,希望对大家有帮助哈~ 本套Java面试题大全,全的不能再全,哈哈~ 一、Java 基础 1. JDK 和 JRE 有什么区别? JDK:Java Development Kit 的简称,java 开发工具包,提供了 java 的开发环境和运行环境。 JRE:Java Runtime Environ...

定量遥感中文版 梁顺林著 范闻捷译

这是梁顺林的定量遥感的中文版,由范闻捷等翻译的,是电子版PDF,解决了大家看英文费时费事的问题,希望大家下载看看,一定会有帮助的

GIS程序设计教程 基于ArcGIS Engine的C#开发实例

张丰,杜震洪,刘仁义编著.GIS程序设计教程 基于ArcGIS Engine的C#开发实例.浙江大学出版社,2012.05

人工智能-计算机视觉实战之路(必备算法+深度学习+项目实战)

系列课程主要分为3大阶段:(1)首先掌握计算机视觉必备算法原理,结合Opencv进行学习与练手,通过实际视项目进行案例应用展示。(2)进军当下最火的深度学习进行视觉任务实战,掌握深度学习中必备算法原理与网络模型架构。(3)结合经典深度学习框架与实战项目进行实战,基于真实数据集展开业务分析与建模实战。整体风格通俗易懂,项目驱动学习与就业面试。 建议同学们按照下列顺序来进行学习:1.Python入门视频课程 2.Opencv计算机视觉实战(Python版) 3.深度学习框架-PyTorch实战/人工智能框架实战精讲:Keras项目 4.Python-深度学习-物体检测实战 5.后续实战课程按照自己喜好选择就可以

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

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

微信小程序开发实战之番茄时钟开发

微信小程序番茄时钟视频教程,本课程将带着各位学员开发一个小程序初级实战类项目,针对只看过官方文档而又无从下手的开发者来说,可以作为一个较好的练手项目,对于有小程序开发经验的开发者而言,可以更好加深对小程序各类组件和API 的理解,为更深层次高难度的项目做铺垫。

面试了一个 31 岁程序员,让我有所触动,30岁以上的程序员该何去何从?

最近面试了一个31岁8年经验的程序猿,让我有点感慨,大龄程序猿该何去何从。

去除异常值matlab程序

数据预处理中去除异常值的程序,matlab写成

用verilog HDL语言编写的秒表

在秒表设计中,分模块书写。用在七段数码管上显示。输入频率是1KHZ.可以显示百分秒,秒,分。如要显示小时,只需修改leds里的代码和主模块代码。改程序以通过硬件电路验证。完全正确。

[透视java——反编译、修补和逆向工程技术]源代码

源代码。

相关热词 c# 开发接口 c# 中方法上面的限制 c# java 时间戳 c#单元测试入门 c# 数组转化成文本 c#实体类主外键关系设置 c# 子函数 局部 c#窗口位置设置 c# list 查询 c# 事件 执行顺序
立即提问