springboot-dubbox icon indicating copy to clipboard operation
springboot-dubbox copied to clipboard

启动SysProviderApplication报错,如何解决?

Open chinghonsun opened this issue 7 years ago • 12 comments

java.lang.NoSuchMethodError: org.springframework.web.context.support.ServletContextAwareProcessor: method ()V not found

chinghonsun avatar Jul 24 '17 03:07 chinghonsun

@chinghonsun 用mvn spring-boot:run启动试试,如果没有问题,可能是IDE加载顺序引起的,你用的是IDEA吗

zhangxd1989 avatar Jul 24 '17 06:07 zhangxd1989

@zhangxd1989 是啊,能不能留下qq,更方便联系

chinghonsun avatar Jul 24 '17 08:07 chinghonsun

项目启动各种问题,应该主要是由于dubbo2.8.4

chinghonsun avatar Jul 24 '17 08:07 chinghonsun

@chinghonsun 我最近迁移maven服务器,库被清了,你一说我才发现,现在加进去了,你再刷新下maven 这个dubbo版本是当当开源的,你也可以自己用源码本地安装

zhangxd1989 avatar Jul 24 '17 08:07 zhangxd1989

没有web端的吗?怎么看不到地址

chinghonsun avatar Jul 27 '17 02:07 chinghonsun

您好 我启动SysProviderApplication报错 java.net.SocketException: socket closed 这是什么原因了?

lxj18235187311 avatar Jul 28 '17 09:07 lxj18235187311

@lxj18235187311 很有可能是配置文件没有改对....你把详细的log信息发上来看看

chinghonsun avatar Jul 28 '17 14:07 chinghonsun

dubbo版本的问题还是没有解决,另外SysProviderApplication启动也有问题,是否是没有默认profile导致啊,需要手动设置么?

nobody2014100 avatar Sep 04 '17 09:09 nobody2014100

@zhangxd1989最好能有个详细点的文档,不然这一堆的启动问题还真不好办

nobody2014100 avatar Sep 04 '17 09:09 nobody2014100

运行起来了,想问下你这个运行的配置文件哪里看得到默认的是local?还是说local本身就是spring支持的默认的?我之前改的配置是DEV,所以报错,请问运行DEV要怎么启动?

bufoon avatar Sep 08 '17 09:09 bufoon

Description:

Parameter 0 of method redisRepository in cn.zhangxd.platform.common.redis.RedisConfig required a single bean, but 2 were found: - redisTemplate: defined by method 'redisTemplate' in class path resource [cn/zhangxd/platform/system/provider/config/CacheConfig.class] - stringRedisTemplate: defined by method 'stringRedisTemplate' in class path resource [org/springframework/boot/autoconfigure/data/redis/RedisAutoConfiguration$RedisConfiguration.class]

不知道哪儿配置有问题??

anyine avatar Nov 08 '17 08:11 anyine

您好 我启动SysProviderApplication报错 java.net.SocketException: socket closed 这是什么原因了?

要在rabbitmq内增加admin账户的权限

guideThee avatar Apr 19 '21 14:04 guideThee