MyEclipse(2014) 出现从svn检出项目项目后source folder 以文件夹的方式组织的解决方法


今天从svn中检出maven项目,原本source folder是以包的形式组织的,可现在却变成的文件的方式组织的,解决办法是


svn检出项目启动报错

06-11

svn检出的项目,启动报错,求大神[img=http://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/003/monkey/19.gif][/img]rn[code=java]六月 11, 2016 2:08:43 上午 org.apache.catalina.core.StandardContext listenerStartrn严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenerrnorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'startOnLoadService' defined in file [C:\apache-tomcat-7.0.61\wtpwebapps\YunyueWeixin\WEB-INF\classes\com\yunyueweixin\services\autoload\StartOnLoadService.class]: Initialization of bean failed; nested exception is org.springframework.data.redis.RedisConnectionFailureException: Cannot get Jedis connection; nested exception is redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the poolrn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:529)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:636)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:934)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)rn at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:410)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5016)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5528)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575)rn at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565)rn at java.util.concurrent.FutureTask.run(Unknown Source)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)rn at java.lang.Thread.run(Unknown Source)rnCaused by: org.springframework.data.redis.RedisConnectionFailureException: Cannot get Jedis connection; nested exception is redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the poolrn at org.springframework.data.redis.connection.jedis.JedisConnectionFactory.fetchJedisConnector(JedisConnectionFactory.java:162)rn at org.springframework.data.redis.connection.jedis.JedisConnectionFactory.getConnection(JedisConnectionFactory.java:251)rn at org.springframework.data.redis.connection.jedis.JedisConnectionFactory.getConnection(JedisConnectionFactory.java:58)rn at org.springframework.data.redis.core.RedisConnectionUtils.doGetConnection(RedisConnectionUtils.java:128)rn at org.springframework.data.redis.core.RedisConnectionUtils.getConnection(RedisConnectionUtils.java:91)rn at org.springframework.data.redis.core.RedisConnectionUtils.getConnection(RedisConnectionUtils.java:78)rn at org.springframework.data.redis.core.RedisTemplate.execute(RedisTemplate.java:178)rn at org.springframework.data.redis.core.RedisTemplate.execute(RedisTemplate.java:153)rn at org.springframework.data.redis.core.RedisTemplate.expire(RedisTemplate.java:640)rn at com.yunyueweixin.dao.redis.impl.RedisImpl.deleteByKey(RedisImpl.java:59)rn at com.yunyueweixin.services.wechat.util.WechatUtil.refreshCacheAll(WechatUtil.java:99)rn at com.yunyueweixin.services.autoload.StartOnLoadService.init(StartOnLoadService.java:98)rn at com.yunyueweixin.services.autoload.PBSTrackManagerPostProcessor.postProcessAfterInitialization(PBSTrackManagerPostProcessor.java:15)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:409)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1520)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:521)rn ... 20 morernCaused by: redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the poolrn at redis.clients.util.Pool.getResource(Pool.java:50)rn at redis.clients.jedis.JedisPool.getResource(JedisPool.java:99)rn at redis.clients.jedis.JedisPool.getResource(JedisPool.java:12)rn at org.springframework.data.redis.connection.jedis.JedisConnectionFactory.fetchJedisConnector(JedisConnectionFactory.java:155)rn ... 35 morernCaused by: redis.clients.jedis.exceptions.JedisConnectionException: java.net.ConnectException: Connection refused: connectrn at redis.clients.jedis.Connection.connect(Connection.java:164)rn at redis.clients.jedis.BinaryClient.connect(BinaryClient.java:80)rn at redis.clients.jedis.BinaryJedis.connect(BinaryJedis.java:1676)rn at redis.clients.jedis.JedisFactory.makeObject(JedisFactory.java:87)rn at org.apache.commons.pool2.impl.GenericObjectPool.create(GenericObjectPool.java:861)rn at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:435)rn at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:363)rn at redis.clients.util.Pool.getResource(Pool.java:48)rn ... 38 morernCaused by: java.net.ConnectException: Connection refused: connectrn at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)rn at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)rn at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)rn at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)rn at java.net.AbstractPlainSocketImpl.connect(Unknown Source)rn at java.net.PlainSocketImpl.connect(Unknown Source)rn at java.net.SocksSocketImpl.connect(Unknown Source)rn at java.net.Socket.connect(Unknown Source)rn at redis.clients.jedis.Connection.connect(Connection.java:158)rn ... 45 morernrnrn[/code]

没有更多推荐了,返回首页

私密
私密原因:
请选择设置私密原因
  • 广告
  • 抄袭
  • 版权
  • 政治
  • 色情
  • 无意义
  • 其他
其他原因:
120
出错啦
系统繁忙,请稍后再试