小编Sto*_*ack的帖子

Spring @Autowired无法正常工作 - BeanCreationException

当我尝试在服务器上部署文件时发生错误.我很困惑,因为这段代码工作正常.

例外

    Failed to enable lec2ear-1.0.ear.

Unexpected HTTP response: 500

Request
{
    "address" => [("deployment" => "lecture_7")],
    "operation" => "deploy"
}

Response

Internal Server Error
{
    "outcome" => "failed",
    "failure-description" => {"JBAS014671: Failed services" => {"jboss.undertow.deployment.default-server.default-host./mart-parent" => "org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./mart-parent: Failed to start service
    Caused by: java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'storageController': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private ru.menkin.ea.lec4.model.services.ICategoryService ru.menkin.ea.lec5.controllers.StorageController._categoryService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name …
Run Code Online (Sandbox Code Playgroud)

java spring autowired

5
推荐指数
1
解决办法
5914
查看次数

不工作git stash

VNC -> Git -> Stash Changes在Intellj IDEA中使用

我收到错误: 在此输入图像描述

我跑

  git config --global user.email "you@example.com"
  git config --global user.name "Your Name"
Run Code Online (Sandbox Code Playgroud)

但它仍然无法正常工作.为什么?

intellij-idea git-stash

5
推荐指数
1
解决办法
664
查看次数

标签 统计

autowired ×1

git-stash ×1

intellij-idea ×1

java ×1

spring ×1