Develop/Spring Boot

DisconnectableInputStream source reader 에러

roalwh 2023. 11. 23. 16:31
Exception in thread "DisconnectableInputStream source reader" org.gradle.api.UncheckedIOException: java.io.IOException: Bad file descriptor
        at org.gradle.internal.UncheckedException.throwAsUncheckedException(UncheckedException.java:62)
        at org.gradle.internal.UncheckedException.throwAsUncheckedException(UncheckedException.java:41)
        at org.gradle.util.internal.DisconnectableInputStream$1.run(DisconnectableInputStream.java:127)
        at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.io.IOException: Bad file descriptor
        at java.base/java.io.FileInputStream.readBytes(Native Method)
        at java.base/java.io.FileInputStream.read(FileInputStream.java:276)
        at java.base/java.io.BufferedInputStream.read1(BufferedInputStream.java:282)
        at java.base/java.io.BufferedInputStream.read(BufferedInputStream.java:343)
        at org.gradle.util.internal.DisconnectableInputStream$1.run(DisconnectableInputStream.java:98)
        ... 1 more

FAILURE: Build failed with an exception.

* What went wrong:
Directory '/home/roalwh/Project-OMDB' does not contain a Gradle build.

A Gradle build should contain a 'settings.gradle' or 'settings.gradle.kts' file in its root directory. It may also contain a 'build.gradle' or 'build.gradle.kts' file.

To create a new Gradle build in this directory run 'gradlew init'

For more information about the 'init' task, please refer to https://docs.gradle.org/8.2.1/userguide/build_init_plugin.html in the Gradle documentation.

For more details on creating a Gradle build, please refer to https://docs.gradle.org/8.2.1/userguide/tutorial_using_tasks.html in the Gradle documentation.

* Try:
> Run gradlew init to create a new Gradle build in this directory.
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Get more help at https://help.gradle.org.

BUILD FAILED in 366ms

rc-local 를 이용해서 

nohup /home/roalwh/Project-OMDB/omdb-backend/gradlew bootrun  & > /dev/null

 

값으로 잘만 사용했는데 갑자기 에러남

dev 실행후 재실행하니 갑자기 다시된다;

왜?

 

주된 이유는 메모리라고하는데 메모리는 넉넉 함

 

 

'Develop > Spring Boot' 카테고리의 다른 글

정규식  (0) 2023.12.11
@PostConstruct  (0) 2023.12.07
디자인 패턴  (1) 2023.11.17
[Spring boot] application.yml 설정  (0) 2023.10.24
gitignore 파일  (0) 2023.10.23