严重: Servlet threw load() exception
java.lang.NumberFormatException: For input string: "${dubbo.port}"
扫描配置
<?xml version="1.0" encoding="UTF-8"?>
xmlns:context="http://www.springframework.org/schema/context"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.2.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd">
之前是dao层的配置文件报错"${jdbc.url}" 无法解析,搜了资料在扫描配置文件上加了*ignore-unresolvable="true",然后就报错数字转换异常了,百度查了下,有这样的问题,但是都没解决,在dubbo配置文件加上host解决不了