Git Product home page Git Product logo

crud-web-bulletin-board's People

Contributors

kchung1995 avatar

Watchers

 avatar

crud-web-bulletin-board's Issues

테스트 코드 작성 및 실행 시 log4j2 구문을 못 읽어오는 이슈

아래와 같은 테스트 코드를 작성했을 때,

@Log4j2
@RestController
public class LoggerControllerTest {

    @GetMapping("/log")
    public void log() throws Exception {

        System.out.println("하이");
        log.fatal("FATAL");
        log.error("ERROR");
        log.warn("WARN");
        log.info("INFO");
        log.debug("DEBUG");
        log.trace("TRACE");

    }

}

log를 찾을 수 없다는 내용의 에러가 발생함.
IntelliJ Cannot find symbol ‘log’ ...

Gradle 초기 설정 issue

아래 형식의 build.gradle 작성 시 Gradle이 성공적으로 빌드되지 않음.

buildscript {
    ext {
        springBootVersion = '2.1.9.RELEASE'
    }
    repositories {
        mavenCentral()
        jcenter()
    }
    dependencies {
        classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
    }
}


apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'


group 'com.katfun.crudboard'
version '1.0-SNAPSHOT'

repositories {
    mavenCentral()
}

dependencies {
    testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.1'
    testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.1'

    compile('org.springframework.boot:spring-boot-starter-web')
    testCompile('org.springframework.boot:spring-boot-starter-test')
}

test {
    useJUnitPlatform()
}

에러 메세지:

Build file '/Users/kchung1995/IdeaProjects/CRUD-Web-Bulletin-Board/build.gradle' line: 14

Could not compile build file '/Users/kchung1995/IdeaProjects/CRUD-Web-Bulletin-Board/build.gradle'.
> startup failed:
  build file '/Users/kchung1995/IdeaProjects/CRUD-Web-Bulletin-Board/build.gradle': 14: only buildscript {} and other plugins {} script blocks are allowed before plugins {} blocks, no other statements are allowed

Vue.js 연동 문제

uri로 받은 요청을 적절한 vue 화면까지 전달할 수 없는 문제

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.