개인 자료란 (JE)

  서버 커뮤니티

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

질문하기 모드

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

2023.05.24 조회 수 120 추천 수 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/761/908/003/262x150.crop.jpg?20241025153749

건축

서울 숭례문(崇禮門) 4

KHC

2024-10-25

2

/files/thumbnails/578/899/003/262x150.crop.jpg?20241010142350

건축

경주 월정교 1

KHC

2024-10-10

2

/files/thumbnails/219/899/003/262x150.crop.jpg?20241009200950

건축

송전탑+도시 2

dbasd12

2024-10-09

2

/files/thumbnails/246/898/003/262x150.crop.jpg?20241008102328

레드스톤

단다단 - 오토노케(オトノケ) | 마인크래프트 노트블럭 커버

노트블럭전문가

2024-10-08

1

/files/thumbnails/348/896/003/262x150.crop.jpg?20241006103035

디도스/봇테러등등을 낚는 방법 4

물귀신

2024-10-06

3