添加依赖关系管理会导致项目出现问题

时间:2018-09-21 05:29:19

标签: spring-mvc pom.xml maven-dependency

当我在pom.xml中添加{getFieldDecorator(`names[${k}]`, { validateTrigger: ["onChange", "onBlur"], initialValue: "lucy", rules: [ { required: true, whitespace: true, message: "Please input passenger's name or delete this field." } ] })( <Select> <Option value="jack">Jack</Option> <Option value="lucy">Lucy</Option> <Option value="Yiminghe">yiminghe</Option> </Select> )} 时。我再也无法导入某些依赖项了。

<dependencyManagement></dependencyManagement>

这可能是因为import org.apache.log4j.Level; import org.apache.log4j.Logger; import org.json.JSONObject; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.validation.Errors; import org.springframework.web.bind.annotation.ModelAttribute; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.ResponseBody; 已忽略传递依赖。是否有解决此问题的特定方法?

0 个答案:

没有答案