개인 자료란 (JE)

  서버 커뮤니티

Profile 알루네스 대표칭호 없음
Profile

질문하기 모드

자꾸 질문드려서 죄송합니다. gradle 컴파일 관련 오류입니다!

2023.05.24 조회 수 55 추천 수 0
이해도 초보자 
게임버전 (JE) 1.19.2 
게임버전 (BE) 1.19.x 

제목대로입니다.



폴더는 이런식으로 되어있고 

build.gradle 가 각 폴더마다 하나씩 있습니다.


메인폴더에 포지와 퍼블릭과 컴몬이 있고


C:\Users\admin\Downloads\SpoornWeaponAttributes-main>gradlew build -Dorg.gradle.jvmargs="-Xmx4g"


> Configure project :

Architect Plugin: 3.4.146

Architectury Loom: 0.12.0.325

You are using an outdated version of Architectury Loom! This version will not receive any support, please consider updating!


> Configure project :common

:remapping 3 mods (TinyRemapper, intermediary -> named)

:remapped 3 mods (TinyRemapper, intermediary -> named) in 3.284 s

:remapping 1 mods (TinyRemapper, intermediary -> named)

:remapped 1 mods (TinyRemapper, intermediary -> named) in 3.105 s

:remapping sources


> Configure project :fabric

Processing file: [email protected]

Processing file: [email protected]

:remapping 42 mods (TinyRemapper, intermediary -> named)

:remapped 42 mods (TinyRemapper, intermediary -> named) in 4.321 s

:remapping sources


> Configure project :forge

:could not find forge mod in modApi but forcing: jankson-1.2.0.jar (blue.endless:jankson:1.2.0)

:could not find forge mod in modApi but forcing: toml4j-0.7.2.jar (com.moandjiezana.toml:toml4j:0.7.2)

:could not find forge mod in modApi but forcing: snakeyaml-1.27.jar (org.yaml:snakeyaml:1.27)

:could not find forge mod in modApi but forcing: gson-2.8.1.jar (com.google.code.gson:gson:2.8.1)

:remapping 5 mods (TinyRemapper, srg -> named)

:remapped 5 mods (TinyRemapper, srg -> named) in 4.109 s

:remapping sources


> Task :common:transformProductionFabric

[Architectury Transformer] Read classpath in 1.709 s

[Architectury Transformer] Transformed jar with 5 transformer(s) in 1.956 s


> Task :common:transformProductionForge

[Architectury Transformer] Read classpath in 1.512 s

[Architectury Transformer] Transformed jar with 7 transformer(s) in 2.038 s


> Task :forge:compileJava

warning: unknown enum constant EnvType.CLIENT

  reason: class file for net.fabricmc.api.EnvType not found

warning: unknown enum constant EnvType.CLIENT

  reason: class file for net.fabricmc.api.EnvType not found

warning: unknown enum constant EnvType.CLIENT

  reason: class file for net.fabricmc.api.EnvType not found

warning: unknown enum constant EnvType.CLIENT

  reason: class file for net.fabricmc.api.EnvType not found

warning: unknown enum constant EnvType.CLIENT

  reason: class file for net.fabricmc.api.EnvType not found

5 warnings


> Task :common:remapJar

Could not find fabric.mod.json file in: spoornweaponattributes-4.1.1-1.19-dev.jar


> Task :common:remapJar FAILED


FAILURE: Build failed with an exception.


* What went wrong:

Execution failed for task ':common:remapJar'.

> A failure occurred while executing net.fabricmc.loom.task.RemapJarTask$RemapAction

   > Failed to remap, java.lang.IllegalArgumentException: Cannot nest jars into none mod jar spoornweaponattributes-4.1.1-1.19.jar


* Try:

> Run with --stacktrace option to get the stack trace.

> Run with --info or --debug option to get more log output.

> Run with --scan to get full insights.


* Get more help at https://help.gradle.org


Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.


You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.


See https://docs.gradle.org/7.4/userguide/command_line_interface.html#sec:command_line_warnings


BUILD FAILED in 1m 11s

33 actionable tasks: 33 executed


에러 전문입니다.


도움을..주십시오... ㅠㅠ 


가이드 내용은 자바 17이라고 적혀있어 자바17로 맞춰두었습니다




1개의 댓글

냥냐챠
2023.05.24

계속 올리네냥.

도움받고 싶으면 내 디코 들어와봐냥 쪽지 남기면 초대링크 알려줄께냥

뉴스 및 창작물
/files/thumbnails/576/775/003/262x150.crop.jpg?20240426232553

아티클

이달의 블록: 단단한 진흙

학교가기싫다

2024-04-26

0

/files/thumbnails/115/774/003/262x150.crop.jpg?20240428135129

업데이트

마인크래프트 1.20.5 정식 업데이트

학교가기싫다

2024-04-24

0

/files/thumbnails/762/770/003/262x150.crop.jpg?20240418073724

레드스톤

T.B.H (고민중독) | 노트블럭 버전 | NoteBlock Cover [한국어 영어 중국어 가사 추가]

노트블럭전문가

2024-04-18

0

/files/thumbnails/218/767/003/262x150.crop.jpg?20240412130213

레드스톤

우리의 꿈 - 원피스 오프닝

노트블럭전문가

2024-04-12

0

/files/thumbnails/505/766/003/262x150.crop.jpg?20240411122306

레드스톤

기동전사 건담 수성의 마녀 | 노트블럭 커버 1

노트블럭전문가

2024-04-11

1