Maven项目部署到Tomcat的问题

项目不知道怎么回事,maven打包没有任何问题,Tomcat启动后web页面不能正常访问,控制台连续不断地输出以下信息:
七月 26, 2016 6:21:46 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-bio-8080"]
七月 26, 2016 6:21:46 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-bio-443"]
七月 26, 2016 6:21:46 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-bio-8009"]
七月 26, 2016 6:21:46 下午 org.apache.catalina.startup.Catalina start
信息: Server startup in 14546 ms
18:21:48.022 [Thread-7] DEBUG o.h.cache.redis.jedis.JedisClient - delete expired cache item in region[hibernate.org.hibernate.cache.internal.StandardQueryCache] expire time=[1469528508021]
18:22:00.015 [schedFactoryBean_QuartzSchedulerThread] DEBUG o.q.i.j.StdRowLockSemaphore - Lock 'TRIGGER_ACCESS' is desired by: schedFactoryBean_QuartzSchedulerThread
18:22:00.016 [schedFactoryBean_QuartzSchedulerThread] DEBUG o.q.i.j.StdRowLockSemaphore - Lock 'TRIGGER_ACCESS' is being obtained: schedFactoryBean_QuartzSchedulerThread
18:22:00.018 [schedFactoryBean_QuartzSchedulerThread] DEBUG o.q.i.j.StdRowLockSemaphore - Lock 'TRIGGER_ACCESS' given to: schedFactoryBean_QuartzSchedulerThread
Hibernate: select count(order0_.ID) as col_0_0_ from HS_ORDER order0_ where order0_.SUBMITORDERTIME<? and order0_.STATUS=0 and order0_.PAYMETHOD_ID=?
18:22:00.144 [schedFactoryBean_QuartzSchedulerThread] DEBUG o.q.i.j.StdRowLockSemaphore - Lock 'TRIGGER_ACCESS' returned by: schedFactoryBean_QuartzSchedulerThread
18:22:00.153 [schedFactoryBean_Worker-1] DEBUG org.quartz.core.JobRunShell - Calling execute on job DEFAULT.orderPayTimeOutJob
Hibernate: select order0_.ID as ID1_29_, order0_.CREATEBY as CREATEBY2_29_, order0_.CREATETIME as CREATETI3_29_, order0_.UPDATEBY as UPDATEBY4_29_, order0_.UPDATETIME as UPDATETI5_29_, order0_.ADDR as ADDR6_29_, order0_.AREA_ID as AREA_ID32_29_, order0_.BUILDING as BUILDING7_29_, order0_.BUYCOUNT as BUYCOUNT8_29_, order0_.CITY_ID as CITY_ID33_29_, order0_.COMM_ID as COMM_ID34_29_, order0_.CONSIGEE as CONSIGEE9_29_, order0_.DELITIME as DELITIM10_29_, order0_.DELIVERY as DELIVER11_29_, order0_.DELIVERYFLAG as DELIVER12_29_, order0_.DELIVERYORDER_ID as DELIVER35_29_, order0_.DISTRCOMPLETETIME as DISTRCO13_29_, order0_.DISTRSTOREID as DISTRST14_29_, order0_.DISTRIBUTIONID as DISTRIB15_29_, order0_.FINSHTIME as FINSHTI16_29_, order0_.FLOOR as FLOOR17_29_, order0_.ORDER_ID as ORDER_I36_29_, order0_.MOBILE as MOBILE18_29_, order0_.NIGHTINCOME as NIGHTIN19_29_, order0_.NUMB as NUMB20_29_, order0_.ONLINEPAYNAME_ID as ONLINEP37_29_, order0_.OPERSTATUS as OPERSTA21_29_, order0_.ORDERBILLNO as ORDERBI22_29_, order0_.ORDERNO as ORDERNO23_29_, order0_.PAYABLE as PAYABLE24_29_, order0_.PAYMETHOD_ID as PAYMETH38_29_, order0_.PROVICE_ID as PROVICE39_29_, order0_.REMARK as REMARK25_29_, order0_.SHIPMENT as SHIPMEN26_29_, order0_.STATUS as STATUS27_29_, order0_.STORE_ID as STORE_I40_29_, order0_.STORETYPE_ID as STORETY41_29_, order0_.SUBMITORDERTIME as SUBMITO28_29_, order0_.TEL as TEL29_29_, order0_.TOTAL as TOTAL30_29_, order0_.UNIT as UNIT31_29_, order0_.USER_ID as USER_ID42_29_ from HS_ORDER order0_ where order0_.STATUS=? and order0_.SUBMITORDERTIME<? and order0_.PAYMETHOD_ID=? limit ?
18:22:00.208 [schedFactoryBean_Worker-1] DEBUG o.q.i.j.StdRowLockSemaphore - Lock 'TRIGGER_ACCESS' is desired by: schedFactoryBean_Worker-1
18:22:00.208 [schedFactoryBean_Worker-1] DEBUG o.q.i.j.StdRowLockSemaphore - Lock 'TRIGGER_ACCESS' is being obtained: schedFactoryBean_Worker-1
18:22:00.209 [schedFactoryBean_Worker-1] DEBUG o.q.i.j.StdRowLockSemaphore - Lock 'TRIGGER_ACCESS' given to: schedFactoryBean_Worker-1
18:22:00.213 [schedFactoryBean_QuartzSchedulerThread] DEBUG o.q.i.j.StdRowLockSemaphore - Lock 'TRIGGER_ACCESS' is desired by: schedFactoryBean_QuartzSchedulerThread
18:22:00.213 [schedFactoryBean_QuartzSchedulerThread] DEBUG o.q.i.j.StdRowLockSemaphore - Lock 'TRIGGER_ACCESS' is being obtained: schedFactoryBean_QuartzSchedulerThread
18:22:00.215 [schedFactoryBean_QuartzSchedulerThread] DEBUG o.q.i.j.StdRowLockSemaphore - Lock 'TRIGGER_ACCESS' given to: schedFactoryBean_QuartzSchedulerThread
18:22:00.286 [schedFactoryBean_QuartzSchedulerThread] DEBUG o.q.i.j.StdRowLockSemaphore - Lock 'TRIGGER_ACCESS' returned by: schedFactoryBean_QuartzSchedulerThread
18:22:00.286 [schedFactoryBean_Worker-1] DEBUG o.q.i.j.StdRowLockSemaphore - Lock 'TRIGGER_ACCESS' returned by: schedFactoryBean_Worker-1
18:22:00.290 [schedFactoryBean_Worker-2] DEBUG org.quartz.core.JobRunShell - Calling execute on job DEFAULT.tempOrderSettlementJob
18:22:00.347 [schedFactoryBean_Worker-2] DEBUG o.q.i.j.StdRowLockSemaphore - Lock 'TRIGGER_ACCESS' is desired by: schedFactoryBean_Worker-2
18:22:00.348 [schedFactoryBean_Worker-2] DEBUG o.q.i.j.StdRowLockSemaphore - Lock 'TRIGGER_ACCESS' is being obtained: schedFactoryBean_Worker-2
18:22:00.348 [schedFactoryBean_Worker-2] DEBUG o.q.i.j.StdRowLockSemaphore - Lock 'TRIGGER_ACCESS' given to: schedFactoryBean_Worker-2
18:22:00.395 [schedFactoryBean_Worker-2] DEBUG o.q.i.j.StdRowLockSemaphore - Lock 'TRIGGER_ACCESS' returned by: schedFactoryBean_Worker-2
Hibernate: select dictionary0_.ID as ID1_16_, dictionary0_.CREATEBY as CREATEBY2_16_, dictionary0_.CREATETIME as CREATETI3_16_, dictionary0_.UPDATEBY as UPDATEBY4_16_, dictionary0_.UPDATETIME as UPDATETI5_16_, dictionary0_.CODE as CODE6_16_, dictionary0_.KIND as KIND7_16_, dictionary0_.SORTNO as SORTNO8_16_, dictionary0_.STATUS as STATUS9_16_, dictionary0_.VALUE as VALUE10_16_, dictionary0_.VALUETYPE as VALUETY11_16_ from HS_DICTIONARY dictionary0_ where dictionary0_.CODE=?
Hibernate: select count(order0_.ID) as col_0_0_ from HS_ORDER order0_ where order0_.SUBMITORDERTIME<? and order0_.STATUS=0 and order0_.PAYMETHOD_ID=?
Hibernate: select dictionary0_.ID as ID1_16_, dictionary0_.CREATEBY as CREATEBY2_16_, dictionary0_.CREATETIME as CREATETI3_16_, dictionary0_.UPDATEBY as UPDATEBY4_16_, dictionary0_.UPDATETIME as UPDATETI5_16_, dictionary0_.CODE as CODE6_16_, dictionary0_.KIND as KIND7_16_, dictionary0_.SORTNO as SORTNO8_16_, dictionary0_.STATUS as STATUS9_16_, dictionary0_.VALUE as VALUE10_16_, dictionary0_.VALUETYPE as VALUETY11_16_ from HS_DICTIONARY dictionary0_ where dictionary0_.CODE=?
Hibernate: select count(order0_.ID) as col_0_0_ from HS_ORDER order0_ where order0_.SUBMITORDERTIME<? and order0_.STATUS=10 and order0_.PAYMETHOD_ID=?
Hibernate: select count(order0_.ID) as col_0_0_ from HS_ORDER order0_ where order0_.SUBMITORDERTIME<? and order0_.DELIVERY=1 and order0_.STATUS=10
Hibernate: select count(order0_.ID) as col_0_0_ from HS_ORDER order0_ where order0_.DELITIME<? and order0_.DELIVERY=2 and order0_.STATUS=15
18:22:42.981 [QuartzScheduler_schedFactoryBean-USER-20140708ZJ1469528502606_MisfireHandler] DEBUG o.q.impl.jdbcjobstore.JobStoreTX - MisfireHandler: scanning for misfires...
18:22:43.013 [QuartzScheduler_schedFactoryBean-USER-20140708ZJ1469528502606_MisfireHandler] DEBUG o.q.impl.jdbcjobstore.JobStoreTX - Found 0 triggers that missed their scheduled fire-time.
Hibernate: select count(order0_.ID) as col_0_0_ from HS_ORDER order0_ where order0_.SUBMITORDERTIME<? and order0_.STATUS=0 and order0_.PAYMETHOD_ID=?
Hibernate: select count(order0_.ID) as col_0_0_ from HS_ORDER order0_ where order0_.SUBMITORDERTIME<? and order0_.STATUS=10 and order0_.PAYMETHOD_ID=?
Hibernate: select count(order0_.ID) as col_0_0_ from HS_ORDER order0_ where order0_.SUBMITORDERTIME<? and order0_.DELIVERY=1 and order0_.STATUS=10
Hibernate: select count(order0_.ID) as col_0_0_ from HS_ORDER order0_ where order0_.DELITIME<? and order0_.DELIVERY=2 and order0_.STATUS=15
Hibernate: select count(deliveryor0_.ID) as col_0_0_ from DELIVERY_ORDER deliveryor0_ where deliveryor0_.CREATETIME<? and deliveryor0_.STATUS=1
18:23:07.397 [Thread-7] DEBUG o.h.cache.redis.jedis.JedisClient - delete expired cache item in region[hibernate.com.hisun.shop.entity.MallVoucherAssignDetail] expire time=[1469528587396]
18:23:07.440 [Thread-7] DEBUG o.h.cache.redis.jedis.JedisClient - delete expired cache item in region[hibernate.org.hibernate.cache.internal.StandardQueryCache] expire time=[1469528587439]
Hibernate: select count(order0_.ID) as col_0_0_ from HS_ORDER order0_ where order0_.SUBMITORDERTIME<? and order0_.STATUS=0 and order0_.PAYMETHOD_ID=?
Hibernate: select count(order0_.ID) as col_0_0_ from HS_ORDER order0_ where order0_.SUBMITORDERTIME<? and order0_.STATUS=10 and order0_.PAYMETHOD_ID=?
Hibernate: select count(order0_.ID) as col_0_0_ from HS_ORDER order0_ where order0_.SUBMITORDERTIME<? and order0_.DELIVERY=1 and order0_.STATUS=10
Hibernate: select count(order0_.ID) as col_0_0_ from HS_ORDER order0_ where order0_.DELITIME<? and order0_.DELIVERY=2 and order0_.STATUS=15
Hibernate: select count(deliveryor0_.ID) as col_0_0_ from DELIVERY_ORDER deliveryor0_ where deliveryor0_.CREATETIME<? and deliveryor0_.STATUS=1
18:23:42.949 [QuartzScheduler_schedFactoryBean-USER-20140708ZJ1469528502606_MisfireHandler] DEBUG o.q.impl.jdbcjobstore.JobStoreTX - MisfireHandler: scanning for misfires...
18:23:42.982 [QuartzScheduler_schedFactoryBean-USER-20140708ZJ1469528502606_MisfireHandler] DEBUG o.q.impl.jdbcjobstore.JobStoreTX - Found 0 triggers that missed their scheduled fire-time.
18:23:42.983 [QuartzScheduler_schedFactoryBean-USER-20140708ZJ1469528502606_ClusterManager] DEBUG o.q.impl.jdbcjobstore.JobStoreTX - ClusterManager: Check-in complete.

3个回答

没有出现error啊

CODER_V
无道loading 配置改了吗
接近 4 年之前 回复
tgpace
tgpace 之前部署不会出现这些信息,web页面也能正常操作,现在是只有登陆页面而且没得样式,页面各种报错
接近 4 年之前 回复

Hibernate: select count(deliveryor0_.ID) as col_0_0_ from DELIVERY_ORDER deliveryor0_ where deliveryor0_.CREATETIME<? and deliveryor0_.STATUS=1这是hibernate语句,你可以吧显示先关掉

使用的是Tomcat 7,

1、需要修改pom.xml中部署的url地址,将http://localhost:8080/manager改http://localhost:8080/manager/text

2、给tomcat用户权限分配上,需要同时具备manager-gui和manager-script权限,我在遇到该问题时,就是忘了分配manager-script权限。

正确的......
答案就在这里:MAVEN项目部署到tomcat7问题
----------------------你好,人类,我是来自CSDN星球的问答机器人小C,以上是依据我对问题的理解给出的答案,如果解决了你的问题,望采纳。

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
IDEA中maven工程无法部署到tomcat的问题

![图片说明](https://img-ask.csdn.net/upload/201703/09/1489026513_933777.png)网上类似这样的教程很多,什么maven部署Tomcat的,这样那样的,应有尽有 ,对照着试了试,可还是发现有这样的问题,问项目经理后,项目经理有十年的开发经验,说,这个项目存在的问题就是没法再本地启动,必须要有专门的服务器来搭建这个项目,我听的不是很懂。希望有大神来详细的教教我。![图片说明](https://img-ask.csdn.net/upload/201703/09/1489026525_171701.png)

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

从svn检出的maven项目怎么在tomcat下部署运行

eclipse环境中,从SVN检出的maven项目无法部署在tomcat下, tomcat检测不到可以部署的项目,求教大神,是不是还要进行处理才能运行? 怎样处理?

maven部署项目到tomcat访问404

apache-tomcat-7.0.69, apache-maven-3.3.9-bin, myeclipse部署的项目可以访问。

maven项目,tomcat的部署问题

在maven项目中,tomcat:run eclipse使用的是哪个tomcat,这个tomcat是怎么来的, 和pom.xml中的tomcat有联系吗。一般开发的过程中,是用maven的tomcat:run还是 用servers运行.

Myeclipse中maven部署tomcat到指定tomcat中

请教一下:在MyEclipse2016环境中maven自动部署到自带的tomcat中。请问如何部署到自己下载的指定tomcat中?

maven 热部署远程tomcat 发布出错

本地的maven工程,想要热部署到远程tomcat服务器上,我按照网上的说法,首先在服务器端tomcat安装目录下修改conf / tomcat-user.xml文件,增加用户权限: ![图片说明](https://img-ask.csdn.net/upload/201611/29/1480403146_660407.png) 然后在本地maven库以及maven安装目录下的settings.xml文件中增加: ![图片说明](https://img-ask.csdn.net/upload/201611/29/1480403217_553579.png) 接着在pom.xml中配置插件 ![图片说明](https://img-ask.csdn.net/upload/201611/29/1480403092_39143.jpg) 网上说因为是第三方的插件,为了防止找不到库,还需要加上如下配置: ![图片说明](https://img-ask.csdn.net/upload/201611/29/1480403309_840518.jpg) 最后我使用package tomcat:deploy、package tomcat:redeploy命令,都提示如下错误 ![图片说明](https://img-ask.csdn.net/upload/201611/29/1480403188_250387.jpg) 不知是哪里出了问题

求在MyEclipse2017上将maven Web项目部署和运行到自带的tomcat上的详细流程

求详细的教程,自己在部署的时候总是出问题。maven命令都执行不了

ssm项目部署tomcat问题

自己建立了spring+springmvc+mybatis整合的小项目,用的是maven。目录如下图![项目结构](https://img-ask.csdn.net/upload/201711/09/1510208296_486345.png) maven--update project 操作后就能正常启动tomcat,但是会报java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener,查了百度,说是tomcat下的项目没有lib,然后照着操作,properties-->add maven dependencies ,操作完查看tomcat下的项目web—Inf下有lib,但是启动tomcat又报错。报错如图![报错图片](https://img-ask.csdn.net/upload/201711/09/1510208538_77234.png)。然后我试着又maven ---> update project ,启动没问题,但是tomcat下的项目目录又没了lib包。 至今找不到问题,求解?另外为什么能tomcat启动了,然后我locatlhost:8080/TestProject/index.jsp 报了404 。无从下手,小白求指导

IDEA怎么配置tomcat以部署maven聚合web项目

1.聚合之前:idea配置tomcat后,会先将项目打包然后自动部署到本地的tomcat中,这个时候maven的workspace是这个web工程是没问题的 2.现在: war项目依赖前端项目的输出,maven-resources-plugin插件将后者输出的静态资源复制到 指定目录下,因此在前后端项目目录结构至上做了一个聚合项目(modules). 但是在配置tomcat的时候,我们只能选择部署子模块(package=war)的工程,idea也只会把这个子模块的 目录作为workSpace来mvn install,这样的话我之前的做的聚合相当于没有用.... 3.想问:如何让idea在打包时以聚合工程的目录作为workspace然后tomcat去读子模块输出的war包。能不能把这2步分开配置呀

请问谁知道 maven 的 tomcat插件 tomcat-maven-plugin 中 的tomcat是在那里?如何热部署?

小弟最近学习 maven 很好奇 maven 的 tomcat插件 tomcat-maven-plugin 中 的tomcat是在那里?如何热部署? 求大师讲解~

eclipse maven项目 怎么实现一点就会自动编译并发布到tomcat

eclipse maven项目 怎么实现一点就会自动编译并发布到tomcat

关于maven远程部署多模块web项目到tomcat失败问题

主模块: ``` <?xml version="1.0" encoding="UTF-8"?> <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/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>DeployTest</groupId> <artifactId>DeployTest</artifactId> <packaging>pom</packaging> <version>1.0-SNAPSHOT</version> <modules> <module>web2</module> <module>service</module> </modules> <build> <finalName>DeployTest</finalName> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.7</source> <target>1.7</target> <encoding>UTF-8</encoding> </configuration> </plugin> </plugins> </build> </project> ``` service模块: ``` <?xml version="1.0" encoding="UTF-8"?> <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/xsd/maven-4.0.0.xsd"> <parent> <artifactId>DeployTest</artifactId> <groupId>DeployTest</groupId> <version>1.0-SNAPSHOT</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>service</artifactId> <groupId>service</groupId> <version>1.0</version> </project> ``` web2模块: ``` <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"> <parent> <artifactId>DeployTest</artifactId> <groupId>DeployTest</groupId> <version>1.0-SNAPSHOT</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>web2</artifactId> <packaging>war</packaging> <name>web2 Maven Webapp</name> <url>http://maven.apache.org</url> <dependencies> <dependency> <groupId>service</groupId> <artifactId>service</artifactId> <version>1.0</version> </dependency> </dependencies> <build> <finalName>web2</finalName> <plugins> <plugin> <groupId>org.apache.tomcat.maven</groupId> <artifactId>tomcat7-maven-plugin</artifactId> <version>2.1</version> <configuration> <url>http://192.168.1.109:8080/manager/text</url> <username>admin</username> <password>admin</password> <server>tomcat</server> <path>/DeployTest</path> </configuration> </plugin> </plugins> </build> </project> ``` 运行tomcat7:redeploy时抛出异常,有关tomcat7-maven-plugin插件都会抛出异常,这里写的很明白是因为没找到service的jar,但是问题是他是子模块,我不需要这个子模块跑到本地仓库或者远程仓库啊,我只需要他在WEB-INF下的lib里就可以了,他现在是在的。求解决: ``` [ERROR] Failed to execute goal on project web2: Could not resolve dependencies for project DeployTest:web2:war:1.0-SNAPSHOT: Failure to find service:service:jar:1.0 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project web2: Could not resolve dependencies for project DeployTest:web2:war:1.0-SNAPSHOT: Failure to find service:service:jar:1.0 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:210) at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:117) at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201) 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.MojoExecutor.executeForkedExecutions(MojoExecutor.java:365) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:199) 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:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) at org.codehaus.classworlds.Launcher.main(Launcher.java:47) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144) Caused by: org.apache.maven.project.DependencyResolutionException: Could not resolve dependencies for project DeployTest:web2:war:1.0-SNAPSHOT: Failure to find service:service:jar:1.0 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:189) at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:185) ... 32 more ``` 运行tomcat7:redeploy时抛出异常,有关tomcat7-maven-plugin插件都会抛出异常,这里写的很明白是因为没找到service的jar,但是问题是他是子模块,我不需要这个子模块跑到本地仓库或者远程仓库啊,我只需要他在WEB-INF下的lib里就可以了,他现在是在的。求解决

idea 引入maven项目发布到tomcat 访问页面无法加载css js 图片

这是我在github上引入的一个maven项目 这是项目中的webapp下面的路径 ![图片说明](https://img-ask.csdn.net/upload/201610/11/1476179953_650507.png) 这是我发布的路径 ![图片说明](https://img-ask.csdn.net/upload/201610/11/1476179982_866713.png) idea是通过虚拟路径的形式发布到tomcat上的,我发布的根目录,localhost:8080可以直接访问,但是前端无法加载js css 图片 ![图片说明](https://img-ask.csdn.net/upload/201610/11/1476180078_766042.png) 怎么加载不出来,怎么解决啊,求大神指教,谢谢!

idea发布maven项目到tomcat上。为何不能在tomcat下看输出

看了一下日志。项目生成的文件被保存在我的C盘的user/xxx/.intelli_idea15/sstem/tomcat中,怎么才能让每次生成的文件直接在tomcat安装路径下生成。

maven自动部署项目到tomcat总是403 Access Denied

试了很多权限都不行,如 <user username="test" password="123" roles="admin-gui,manager-gui,admin,manager,manager-script,tomcat" /> 目前的情况是可以登录tomcat的manger页面,但是maven部署的链接是 http://localhost:8080/manager/html/deploy?path=%2Fmyweb 对于http://localhost:8080/manager/html/deploy这个链接的访问就会报403 错误。 请问该怎么设置呢?先谢谢了。 弄了一天了,我想哭。。。

maven项目,平时用jetty启动的 部署到tomcat报错

用自动部署到tomcat报如下错误: java.util.zip.ZipException : invalid entry size(expected 1263534080 but got 93 bytes) 无从入手啊! 望各位哥哥姐姐指条路子,给个方向

求教:maven工程部署到tomcat出现问题

八月 20, 2015 2:37:39 下午 org.apache.catalina.startup.Catalina start SEVERE: 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:154) at org.apache.catalina.startup.Catalina.start(Catalina.java:689) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:321) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:455) Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardService[Catalina]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:739) 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:154) at org.apache.catalina.core.StandardService.startInternal(StandardService.java:443) 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:1131) at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:300) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ... 11 more 八月 20, 2015 2:37:39 下午 org.apache.coyote.AbstractProtocol pause INFO: Pausing ProtocolHandler ["http-apr-8080"] 八月 20, 2015 2:37:39 下午 org.apache.coyote.AbstractProtocol pause INFO: Pausing ProtocolHandler ["ajp-apr-8009"] 八月 20, 2015 2:37:39 下午 org.apache.catalina.core.StandardService stopInternal INFO: Stopping service Catalina 八月 20, 2015 2:37:39 下午 org.apache.coyote.AbstractProtocol destroy INFO: Destroying ProtocolHandler ["http-apr-8080"] 八月 20, 2015 2:37:39 下午 org.apache.coyote.AbstractProtocol destroy INFO: Destroying ProtocolHandler ["ajp-apr-8009"] 八月 20, 2015 2:37:39 下午 org.apache.catalina.core.ApplicationContext log INFO: Closing Spring root WebApplicationContext 2015-08-20 14:37:39 [INFO] org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:862) : Closing Root WebApplicationContext: startup date [Thu Aug 20 14:37:19 CST 2015]; root of context hierarchy 八月 20, 2015 2:37:39 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc SEVERE: The web application [/emp] registered the JDBC driver [oracle.jdbc.driver.OracleDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. 八月 20, 2015 2:37:39 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads SEVERE: The web application [/emp] appears to have started a thread named [Timer-0] but has failed to stop it. This is very likely to create a memory leak. ``` ```

如何在Linux(Ubuntu)服务器上部署maven项目?

服务器来源:阿里云服务器 服务器系统:Linux(Ubuntu) 服务器环境配置:JDK已安装,MySQL已安装,maven已安装。 想法: 把在IDEA里写好的maven项目,打包并导出,然后部署到服务器上。 情况: 自学者,对Linux(Ubuntu)的不了解。 希望能有朋友在回答中教教我,如何打包并导出,然后部署到服务器上。 同时,希望能找到愿意交流和学习的朋友! (私聊或者留下联系方式吧!想交朋友!)

在中国程序员是青春饭吗?

今年,我也32了 ,为了不给大家误导,咨询了猎头、圈内好友,以及年过35岁的几位老程序员……舍了老脸去揭人家伤疤……希望能给大家以帮助,记得帮我点赞哦。 目录: 你以为的人生 一次又一次的伤害 猎头界的真相 如何应对互联网行业的「中年危机」 一、你以为的人生 刚入行时,拿着傲人的工资,想着好好干,以为我们的人生是这样的: 等真到了那一天,你会发现,你的人生很可能是这样的: ...

程序员请照顾好自己,周末病魔差点一套带走我。

程序员在一个周末的时间,得了重病,差点当场去世,还好及时挽救回来了。

我以为我学懂了数据结构,直到看了这个导图才发现,我错了

数据结构与算法思维导图

String s = new String(" a ") 到底产生几个对象?

老生常谈的一个梗,到2020了还在争论,你们一天天的,哎哎哎,我不是针对你一个,我是说在座的各位都是人才! 上图红色的这3个箭头,对于通过new产生一个字符串(”宜春”)时,会先去常量池中查找是否已经有了”宜春”对象,如果没有则在常量池中创建一个此字符串对象,然后堆中再创建一个常量池中此”宜春”对象的拷贝对象。 也就是说准确答案是产生了一个或两个对象,如果常量池中原来没有 ”宜春” ,就是两个。...

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

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

Linux面试题(2020最新版)

文章目录Linux 概述什么是LinuxUnix和Linux有什么区别?什么是 Linux 内核?Linux的基本组件是什么?Linux 的体系结构BASH和DOS之间的基本区别是什么?Linux 开机启动过程?Linux系统缺省的运行级别?Linux 使用的进程间通信方式?Linux 有哪些系统日志文件?Linux系统安装多个桌面环境有帮助吗?什么是交换空间?什么是root帐户什么是LILO?什...

将一个接口响应时间从2s优化到 200ms以内的一个案例

一、背景 在开发联调阶段发现一个接口的响应时间特别长,经常超时,囧… 本文讲讲是如何定位到性能瓶颈以及修改的思路,将该接口从 2 s 左右优化到 200ms 以内 。 二、步骤 2.1 定位 定位性能瓶颈有两个思路,一个是通过工具去监控,一个是通过经验去猜想。 2.1.1 工具监控 就工具而言,推荐使用 arthas ,用到的是 trace 命令 具体安装步骤很简单,大家自行研究。 我的使用步骤是...

学历低,无法胜任工作,大佬告诉你应该怎么做

微信上收到一位读者小涛的留言,大致的意思是自己只有高中学历,经过培训后找到了一份工作,但很难胜任,考虑要不要辞职找一份他能力可以胜任的实习工作。下面是他留言的一部分内容: 二哥,我是 2016 年高中毕业的,考上了大学但没去成,主要是因为当时家里经济条件不太允许。 打工了三年后想学一门技术,就去培训了。培训的学校比较垃圾,现在非常后悔没去正规一点的机构培训。 去年 11 月份来北京找到了一份工...

JVM内存结构和Java内存模型别再傻傻分不清了

讲一讲什么是Java内存模型 Java内存模型虽说是一个老生常谈的问题 ,也是大厂面试中绕不过的,甚至初级面试也会问到。但是真正要理解起来,还是相当困难,主要这个东西看不见,摸不着。 这是一个比较开放的题目,面试官主要想考察的是对Java内存模型的了解到了什么程度了,然后根据回答进行进一步的提问 下面,我们就这个问题的回答列一下我们的思路 具体的思路如下: 说一说Java内存模型的缘由 简略辨析...

和黑客斗争的 6 天!

互联网公司工作,很难避免不和黑客们打交道,我呆过的两家互联网公司,几乎每月每天每分钟都有黑客在公司网站上扫描。有的是寻找 Sql 注入的缺口,有的是寻找线上服务器可能存在的漏洞,大部分都...

Google 与微软的浏览器之争

浏览器再现“神仙打架”。整理 | 屠敏头图 | CSDN 下载自东方 IC出品 | CSDN(ID:CSDNnews)从 IE 到 Chrome,再从 Chrome 到 Edge,微软与...

讲一个程序员如何副业月赚三万的真实故事

loonggg读完需要3分钟速读仅需 1 分钟大家好,我是你们的校长。我之前讲过,这年头,只要肯动脑,肯行动,程序员凭借自己的技术,赚钱的方式还是有很多种的。仅仅靠在公司出卖自己的劳动时...

上班一个月,后悔当初着急入职的选择了

最近有个老铁,告诉我说,上班一个月,后悔当初着急入职现在公司了。他之前在美图做手机研发,今年美图那边今年也有一波组织优化调整,他是其中一个,在协商离职后,当时捉急找工作上班,因为有房贷供着,不能没有收入来源。所以匆忙选了一家公司,实际上是一个大型外包公司,主要派遣给其他手机厂商做外包项目。**当时承诺待遇还不错,所以就立马入职去上班了。但是后面入职后,发现薪酬待遇这块并不是HR所说那样,那个HR自...

女程序员,为什么比男程序员少???

昨天看到一档综艺节目,讨论了两个话题:(1)中国学生的数学成绩,平均下来看,会比国外好?为什么?(2)男生的数学成绩,平均下来看,会比女生好?为什么?同时,我又联想到了一个技术圈经常讨...

搜狗输入法也在挑战国人的智商!

故事总是一个接着一个到来...上周写完《鲁大师已经彻底沦为一款垃圾流氓软件!》这篇文章之后,鲁大师的市场工作人员就找到了我,希望把这篇文章删除掉。经过一番沟通我先把这篇文章从公号中删除了...

85后蒋凡:28岁实现财务自由、34岁成为阿里万亿电商帝国双掌门,他的人生底层逻辑是什么?...

蒋凡是何许人也? 2017年12月27日,在入职4年时间里,蒋凡开挂般坐上了淘宝总裁位置。 为此,时任阿里CEO张勇在任命书中力赞: 蒋凡加入阿里,始终保持创业者的冲劲,有敏锐的...

总结了 150 余个神奇网站,你不来瞅瞅吗?

原博客再更新,可能就没了,之后将持续更新本篇博客。

副业收入是我做程序媛的3倍,工作外的B面人生是怎样的?

提到“程序员”,多数人脑海里首先想到的大约是:为人木讷、薪水超高、工作枯燥…… 然而,当离开工作岗位,撕去层层标签,脱下“程序员”这身外套,有的人生动又有趣,马上展现出了完全不同的A/B面人生! 不论是简单的爱好,还是正经的副业,他们都干得同样出色。偶尔,还能和程序员的特质结合,产生奇妙的“化学反应”。 @Charlotte:平日素颜示人,周末美妆博主 大家都以为程序媛也个个不修边幅,但我们也许...

MySQL数据库面试题(2020最新版)

文章目录数据库基础知识为什么要使用数据库什么是SQL?什么是MySQL?数据库三大范式是什么mysql有关权限的表都有哪几个MySQL的binlog有有几种录入格式?分别有什么区别?数据类型mysql有哪些数据类型引擎MySQL存储引擎MyISAM与InnoDB区别MyISAM索引与InnoDB索引的区别?InnoDB引擎的4大特性存储引擎选择索引什么是索引?索引有哪些优缺点?索引使用场景(重点)...

如果你是老板,你会不会踢了这样的员工?

有个好朋友ZS,是技术总监,昨天问我:“有一个老下属,跟了我很多年,做事勤勤恳恳,主动性也很好。但随着公司的发展,他的进步速度,跟不上团队的步伐了,有点...

我入职阿里后,才知道原来简历这么写

私下里,有不少读者问我:“二哥,如何才能写出一份专业的技术简历呢?我总感觉自己写的简历太烂了,所以投了无数份,都石沉大海了。”说实话,我自己好多年没有写过简历了,但我认识的一个同行,他在阿里,给我说了一些他当年写简历的方法论,我感觉太牛逼了,实在是忍不住,就分享了出来,希望能够帮助到你。 01、简历的本质 作为简历的撰写者,你必须要搞清楚一点,简历的本质是什么,它就是为了来销售你的价值主张的。往深...

离职半年了,老东家又发 offer,回不回?

有小伙伴问松哥这个问题,他在上海某公司,在离职了几个月后,前公司的领导联系到他,希望他能够返聘回去,他很纠结要不要回去? 俗话说好马不吃回头草,但是这个小伙伴既然感到纠结了,我觉得至少说明了两个问题:1.曾经的公司还不错;2.现在的日子也不是很如意。否则应该就不会纠结了。 老实说,松哥之前也有过类似的经历,今天就来和小伙伴们聊聊回头草到底吃不吃。 首先一个基本观点,就是离职了也没必要和老东家弄的苦...

男生更看重女生的身材脸蛋,还是思想?

往往,我们看不进去大段大段的逻辑。深刻的哲理,往往短而精悍,一阵见血。问:产品经理挺漂亮的,有点心动,但不知道合不合得来。男生更看重女生的身材脸蛋,还是...

什么时候跳槽,为什么离职,你想好了么?

都是出来打工的,多为自己着想

程序员为什么千万不要瞎努力?

本文作者用对比非常鲜明的两个开发团队的故事,讲解了敏捷开发之道 —— 如果你的团队缺乏统一标准的环境,那么即使勤劳努力,不仅会极其耗时而且成果甚微,使用...

为什么程序员做外包会被瞧不起?

二哥,有个事想询问下您的意见,您觉得应届生值得去外包吗?公司虽然挺大的,中xx,但待遇感觉挺低,马上要报到,挺纠结的。

当HR压你价,说你只值7K,你该怎么回答?

当HR压你价,说你只值7K时,你可以流畅地回答,记住,是流畅,不能犹豫。 礼貌地说:“7K是吗?了解了。嗯~其实我对贵司的面试官印象很好。只不过,现在我的手头上已经有一份11K的offer。来面试,主要也是自己对贵司挺有兴趣的,所以过来看看……”(未完) 这段话主要是陪HR互诈的同时,从公司兴趣,公司职员印象上,都给予对方正面的肯定,既能提升HR的好感度,又能让谈判气氛融洽,为后面的发挥留足空间。...

面试:第十六章:Java中级开发(16k)

HashMap底层实现原理,红黑树,B+树,B树的结构原理 Spring的AOP和IOC是什么?它们常见的使用场景有哪些?Spring事务,事务的属性,传播行为,数据库隔离级别 Spring和SpringMVC,MyBatis以及SpringBoot的注解分别有哪些?SpringMVC的工作原理,SpringBoot框架的优点,MyBatis框架的优点 SpringCould组件有哪些,他们...

面试阿里p7,被按在地上摩擦,鬼知道我经历了什么?

面试阿里p7被问到的问题(当时我只知道第一个):@Conditional是做什么的?@Conditional多个条件是什么逻辑关系?条件判断在什么时候执...

终于懂了TCP和UDP协议区别

终于懂了TCP和UDP协议区别

立即提问
相关内容推荐