Код: Выделить всё
net.sf
cb2xml
0.90.2
net.sf
jrecord
0.90.2
Код: Выделить всё
C:\Users\USER\.jdks\openjdk-17.0.1\bin\java.exe -Dmaven.multiModuleProjectDirectory=D:\projects\naming-server -Djansi.passthrough=true -Dmaven.home=C:\Users\USER\.m2\wrapper\dists\apache-maven-3.9.6-bin\439sdfsg2nbdob9ciift5h5nse\apache-maven-3.9.6 -Dclassworlds.conf=C:\Users\USER\.m2\wrapper\dists\apache-maven-3.9.6-bin\439sdfsg2nbdob9ciift5h5nse\apache-maven-3.9.6\bin\m2.conf "-Dmaven.ext.class.path=C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 2022.3\plugins\maven\lib\maven-event-listener.jar" "-javaagent:C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 2022.3\lib\idea_rt.jar=8891:C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 2022.3\bin" -Dfile.encoding=UTF-8 -classpath C:\Users\USER\.m2\wrapper\dists\apache-maven-3.9.6-bin\439sdfsg2nbdob9ciift5h5nse\apache-maven-3.9.6\boot\plexus-classworlds-2.7.0.jar;C:\Users\USER\.m2\wrapper\dists\apache-maven-3.9.6-bin\439sdfsg2nbdob9ciift5h5nse\apache-maven-3.9.6\boot\plexus-classworlds.license org.codehaus.classworlds.Launcher -Didea.version=2022.3.3 clean install
[INFO] Scanning for projects...
[INFO]
[INFO] ----------------------< com.wizard:naming-server >----------------------
[INFO] Building naming-server 0.0.1-SNAPSHOT
[INFO] from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] The POM for net.sf:cb2xml:jar:0.90.2 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for net.sf:jrecord:jar:0.90.2 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for net.sf:coboltoxml:jar:0.90.2 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO]
[INFO] --- clean:3.3.2:clean (default-clean) @ naming-server ---
[INFO] Deleting D:\projects\naming-server\target
[INFO]
[INFO] --- resources:3.3.1:resources (default-resources) @ naming-server ---
[INFO] Copying 1 resource from src\main\resources to target\classes
[INFO] Copying 1 resource from src\main\resources to target\classes
[INFO]
[INFO] --- compiler:3.11.0:compile (default-compile) @ naming-server ---
[INFO] Changes detected - recompiling the module! :source
[INFO] Compiling 1 source file with javac [debug release 17] to target\classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] error reading C:\Users\USER\.m2\repository\net\sf\cb2xml\0.90.2\cb2xml-0.90.2.jar; zip END header not found
[ERROR] error reading C:\Users\USER\.m2\repository\net\sf\jrecord\0.90.2\jrecord-0.90.2.jar; zip END header not found
[ERROR] error reading C:\Users\USER\.m2\repository\net\sf\coboltoxml\0.90.2\coboltoxml-0.90.2.jar; zip END header not found
[ERROR] /D:/projects/naming-server/src/main/java/com/wizard/namingserver/NamingServerApplication.java:[1,1] cannot access com.wizard.namingserver
zip END header not found
[INFO] 4 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12.556 s
[INFO] Finished at: 2025-12-01T01:09:09+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile (default-compile) on project naming-server: Compilation failure: Compilation failure:
[ERROR] error reading C:\Users\USER\.m2\repository\net\sf\cb2xml\0.90.2\cb2xml-0.90.2.jar; zip END header not found
[ERROR] error reading C:\Users\USER\.m2\repository\net\sf\jrecord\0.90.2\jrecord-0.90.2.jar; zip END header not found
[ERROR] error reading C:\Users\USER\.m2\repository\net\sf\coboltoxml\0.90.2\coboltoxml-0.90.2.jar; zip END header not found
[ERROR] /D:/projects/naming-server/src/main/java/com/wizard/namingserver/NamingServerApplication.java:[1,1] cannot access com.wizard.namingserver
[ERROR] zip END header not found
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Process finished with exit code 1


Я хочу знать причину этой проблемы и как решить эту проблему, чтобы я мог использовать оба пакета для своей работы?
Подробнее здесь: https://stackoverflow.com/questions/798 ... -maven-pom
Мобильная версия