- Статус темы:
-
Закрыта.
-
Сервер работал,все было нормально,захожу сегодня в консоль,и вижу краш..Запустить по новой не получается,и не могу понять почему
root@80gk:~/server# sh start.sh
A problem occurred running the Server launcher.java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at cpw.mods.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:43)
at cpw.mods.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:12)
Caused by: java.lang.NoClassDefFoundError: org/apache/logging/log4j/Level
at net.minecraft.launchwrapper.Launch.launch(Launch.java:94)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
… 6 more
Caused by: java.lang.ClassNotFoundException: org.apache.logging.log4j.Level
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
… 8 more
root@80gk:~/server#—- Minecraft Crash Report —-
// Who set us up the TNT?Time: 5/15/15 7:36 PM
Description: Ticking block entityjava.lang.NullPointerException: Ticking block entity
at buildcraft.factory.TilePump.func_145845_h(TilePump.java:122)
at net.minecraft.world.World.func_72939_s(World.java:2491)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:669)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:943)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:423)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:798)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:658)
at java.lang.Thread.run(Thread.java:745)A detailed walkthrough of the error, its code path and all known details is as follows:
—————————————————————————————— Head —
Stacktrace:
at buildcraft.factory.TilePump.func_145845_h(TilePump.java:122)— Block entity being ticked —
Details:
Name: net.minecraft.src.buildcraft.factory.TilePump // buildcraft.factory.TilePump
Block type: ID #466 (tile.pumpBlock // buildcraft.factory.BlockPump)
Block data value: 0 / 0x0 / 0b0000
Block location: World: (469,61,-300), Chunk: (at 5,3,4 in 29,-19; contains blocks 464,0,-304 to 479,255,-289), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1)
Actual block type: ID #466 (tile.pumpBlock // buildcraft.factory.BlockPump)
Actual block data value: 0 / 0x0 / 0b0000
Stacktrace:
at net.minecraft.world.World.func_72939_s(World.java:2491)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:669)— Affected level —
Details:
Level name: world1
All players: 1 total; [EntityPlayerMP[‘ExCr’/418, l=’world1’, x=350.84, y=61.00, z=-270.23](ExCr at 350.843689125792,61.0,-270.2284007820047)]
Chunk stats: ServerChunkCache: 201 Drop: 0
Level seed: -458923174094836341
Level generator: ID 00 — default, ver 1. Features enabled: true
Level generator options:
Level spawn location: World: (176,64,248), Chunk: (at 0,4,8 in 11,15; contains blocks 176,0,240 to 191,255,255), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Level time: 54053029 game time, 55490297 day time
Level dimension: 2
Level storage version: 0x04ABD — Anvil
Level weather: Rain time: 63803 (now: false), thunder time: 123888 (now: false)
Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
Stacktrace:
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:943)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:423)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:798)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:658)
at java.lang.Thread.run(Thread.java:745)— System Details —
Details:
Minecraft Version: 1.7.10
Operating System: Linux (amd64) version 3.2.0-4-amd64
Java Version: 1.7.0_75, Oracle Corporation
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 341877448 bytes (326 MB) / 796016640 bytes (759 MB) up to 2604007424 bytes (2483 MB)
JVM Flags: 2 total; -Xincgc -Xmx2500m
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 12, tallocated: 96
FML: MCP v9.05 FML v7.10.88.1307 git-Cauldron-MCPC-Plus-1.7.10-1.1307.06.218 (MC: 1.7.10) (API v1.7.10-R0.1-SNAPSHOT) Minecraft Forge 10.13.2.1307 40 mods loaded, 40 mods active
mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
FML{7.10.88.1307} [Forge Mod Loader] (craftbukkit.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Forge{10.13.2.1307} [Minecraft Forge] (craftbukkit.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
CodeChickenCore{1.0.4.29} [CodeChicken Core] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
NotEnoughItems{1.0.3.74} [Not Enough Items] (NotEnoughItems-1.7.10-1.0.3.74-universal.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
PlayerAPI{1.0} [Player API] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
RenderPlayerAPI{1.0} [Render Player API] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
SmartCore{1.0} [Smart Core] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
IC2{2.2.718-experimental} [IndustrialCraft 2] (industrialcraft-2-2.2.718.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
ImmibisCore{59.0.5} [Immibis Core] (immibis-core-59.0.5.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
AdvancedMachines{59.0.2} [Advanced Machines] (advanced-machines-59.0.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
AdvancedSolarPanel{1.7.10-3.5.1} [Advanced Solar Panels] (AdvancedSolarPanel-1.7.10-3.5.1.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Core{6.4.13} [BuildCraft] (buildcraft-6.4.13 (1).jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Builders{6.4.13} [BC Builders] (buildcraft-6.4.13 (1).jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Energy{6.4.13} [BC Energy] (buildcraft-6.4.13 (1).jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Factory{6.4.13} [BC Factory] (buildcraft-6.4.13 (1).jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Transport{6.4.13} [BC Transport] (buildcraft-6.4.13 (1).jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Silicon{6.4.13} [BC Silicon] (buildcraft-6.4.13 (1).jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Forestry{3.3.0.6} [Forestry for Minecraft] (forestry_1.7.10-3.3.0.6.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
GraviSuite{1.7.10-2.0.3} [Graviation Suite] (GraviSuite-1.7.10-2.0.3.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
IC2CA{1.14.5.05} [IndustrialCraft 2 Combo Armors] (ic2ca-1.7.10-1.14.5.05.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
IC2NuclearControl{1.7.10.06} [Nuclear Control] (ic2nc-1.7.10-1.7.10.06.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
IronChest{6.0.62.742} [Iron Chest] (ironchest-1.7.10-6.0.62.742-universal.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
ForgeMultipart{1.1.0.314} [Forge Multipart] (ForgeMultipart-1.7.10-1.1.0.314-universal.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
ProjRed|Core{4.4.5.44} [ProjectRed] (ProjectRed-Base-1.7.10-4.4.5.44.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
ProjRed|Transmission{4.4.5.44} [ProjectRed-Transmission] (ProjectRed-Integration-1.7.10-4.4.5.44.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
ProjRed|Transportation{4.4.5.44} [ProjectRed-Transportation] (ProjectRed-Mechanical-1.7.10-4.4.5.44.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
ProjRed|Exploration{4.4.5.44} [ProjectRed-Exploration] (ProjectRed-World-1.7.10-4.4.5.44.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
ProjRed|Compatibility{4.4.5.44} [ProjectRed-Compatibility] (ProjectRed-Compat-1.7.10-4.4.5.44.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
ProjRed|Integration{4.4.5.44} [ProjectRed-Integration] (ProjectRed-Integration-1.7.10-4.4.5.44.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
ProjRed|Illumination{4.4.5.44} [ProjectRed-Illumination] (ProjectRed-Lighting-1.7.10-4.4.5.44.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
ProjRed|Expansion{4.4.5.44} [ProjectRed-Expansion] (ProjectRed-Mechanical-1.7.10-4.4.5.44.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
qmunitylib{1.0} [QmunityLib] (QmunityLib-1.7.10-0.1.69-universal.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
SmartMoving{15.2} [Smart Moving] (SmartMoving-1.7.10-15.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
SmartRender{2.0} [Smart Render] (SmartRender-1.7.10-2.0.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
bspkrsCore{6.15} [bspkrsCore] ([1.7.10]bspkrsCore-universal-6.15.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Treecapitator{1.7.2} [Treecapitator] (tree-capitator-mod-1.7.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
McMultipart{1.1.0.314} [Minecraft Multipart Plugin] (ForgeMultipart-1.7.10-1.1.0.314-universal.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
MrTJPCoreMod{1.0} [MrTJPCoreMod] (MrTJPCore-1.7.10-1.0.3.5-universal.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
ForgeMicroblock{1.1.0.314} [Forge Microblocks] (ForgeMultipart-1.7.10-1.1.0.314-universal.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Forestry : [Forestry] Warning: You have mods that change the behavior of Minecraft, ForgeModLoader, and/or Minecraft Forge to your client:
Bukkit, Cauldron, or other Bukkit replacement
These may have caused this error, and may not be supported. Try reproducing the crash WITHOUT these mods, and report it then.
Profiler Position: N/A (disabled)
Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Player Count: 1 / 30; [EntityPlayerMP[‘ExCr’/418, l=’world1’, x=350.84, y=61.00, z=-270.23](ExCr at 350.843689125792,61.0,-270.2284007820047)]
Is Modded: Definitely; Server brand changed to ‘cauldron,craftbukkit,mcpc,fml,forge’
Type: Dedicated Server (map_server.txt) -
Raptor2108
Старожил
Пользователь- Баллы:
- 173
- Skype:
- Raptor210818
- Имя в Minecraft:
- Raptor2108
В forge.cfg выстави removeErroringEntities и removeErroringTileEntities на true и попробуй запустить.
-
такой-же краш..не получается. Уже и ядро поменял.и либы..и без модов и без плагинов пробовал
-
Raptor2108
Старожил
Пользователь- Баллы:
- 173
- Skype:
- Raptor210818
- Имя в Minecraft:
- Raptor2108
Тогда с новой картой, если запустится, то что то у тебя там страшное на карте сотворили.
-
Только щас заметил,что при заливке libraries вот такая ошибка http://prntscr.com/76hwgb ,или это нормально?
-
Raptor2108
Старожил
Пользователь- Баллы:
- 173
- Skype:
- Raptor210818
- Имя в Minecraft:
- Raptor2108
ээ, а зачем ты их заливаешь? Я думал у тебя все стоит уже, так может у тебя просто библиотеки не хватает какой то ?
-
Raptor2108
Старожил
Пользователь- Баллы:
- 173
- Skype:
- Raptor210818
- Имя в Minecraft:
- Raptor2108
у себя сначала попробуй запустить, убедись что работает, а потом заливай уже.
-
сервер стоял на хостинге,на утро вот такое вот я обнаружил,щас буду пробовать на своем пк,а потом на хостинг опять..[DOUBLEPOST=1431932338,1431931801][/DOUBLEPOST]Странно,но на домашнем пк сервер запустился без всяких крашей и ошибок.. http://prntscr.com/76hzyr
-
Raptor2108
Старожил
Пользователь- Баллы:
- 173
- Skype:
- Raptor210818
- Имя в Minecraft:
- Raptor2108
Ну значит чего то не догрузил на хост.
-
когда через фтп либы кидаю..то не все загружаются почему-то..[DOUBLEPOST=1431933279,1431932545][/DOUBLEPOST]Вообщем проблема решена,зря кипешь наводил,мои действия были:смена ядра/дозакачка либов/(очень много раз кидал в ftp с заменой папку libriraes)..
<
- Статус темы:
-
Закрыта.
Поделиться этой страницей
Помогите Сервер с форджем не запускается
Тема в разделе «Помощь», создана пользователем KamN, 12 дек 2019.
-
Forge Server 1.12.2 билд 2847 не запускается ни в какую. На секунду появляется в диспетчере задач и снова пропадает, даже никаких логов не оставляет. Помогите пожалуйста
-
HauserGrim
Активный участник
Пользователь- Баллы:
- 96
- Имя в Minecraft:
- Artarious
-
HauserGrim
Активный участник
Пользователь- Баллы:
- 96
- Имя в Minecraft:
- Artarious
В строке запуска добавь в конце или на новой строке pause и не будет консоль закрываться. Может чего полезного увидишь. Или сюда отправишь, если не понятно.
-
A problem occurred running the Server launcher.java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:70)
at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:34)
Caused by: java.lang.ClassCastException: java.base/jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to java.base/java.net.URLClassLoader
at net.minecraft.launchwrapper.Launch.<init>(Launch.java:34)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
… 6 more -
Залил на хостинг — заработало. Без понятия почему. . . .
-
Он просто не дружит с java9+.
-
_GreyBrick_
Активный участник- Баллы:
- 61
- Имя в Minecraft:
- _GreyBrick_
Запускай не
java -Xmx2G -jar forge-1.7.10-10.13.4.1614-1.7.10-universal.jar nogui (условно), если у тебя версия java 9+,
а скачай java версию раньше чем 9 и назначь прямой путь, примерно так
/c/Program Files/Java/jdk1.8.0_271/bin/java -Xmx2G -jar forge-1.7.10-10.13.4.1614-1.7.10-universal.jar nogui
Поделиться этой страницей
If you are a developer, you might have come across the error message «A Problem Occurred Running the Server Launcher.java.lang.reflect.InvocationTargetException» when trying to run a Java application. This error can be frustrating as it prevents your application from launching correctly. In this guide, we will help you understand the cause of this error, provide a step-by-step solution, and answer some frequently asked questions.
Table of Contents
- Understanding the Error
- Step-by-Step Solution
- FAQ
- Related Links
Understanding the Error
InvocationTargetException
is a Java exception that occurs when a method that has been called through reflection (using the java.lang.reflect
package) throws an exception itself.
In simpler terms, when your application tries to launch a method using reflection, and that method encounters an exception, it gets wrapped in an InvocationTargetException
. This is done to provide more information about the error and help you identify the root cause.
There could be several reasons for this error, such as:
- The invoked method throwing an exception
- Issues with the application’s configuration
- Classpath issues, such as missing dependencies
To fix this error, follow the step-by-step solution provided in the next section.
Step-by-Step Solution
Step 1: Identify the Root Exception
The first step is to identify the root exception that caused the InvocationTargetException
. You can do this by examining the stack trace of the error. The stack trace will usually contain a line that says «Caused by:» followed by the original exception.
Exception in thread "main" java.lang.reflect.InvocationTargetException
at ...
at ...
Caused by: java.lang.NullPointerException
at ...
In this example, the root exception is java.lang.NullPointerException
. Identifying the root exception will help you focus on the actual problem that needs to be fixed.
Step 2: Analyze the Root Exception
Once you have identified the root exception, you need to analyze it to understand what caused it. This might involve investigating the code, checking the application’s configuration, and ensuring that all necessary dependencies are available in the classpath.
If the root exception is related to your code, fix it, and try running the application again. If it’s related to the application’s configuration or classpath, move on to the next steps.
Step 3: Check the Application’s Configuration
Ensure that your application’s configuration is correct. This might include checking:
- Configuration files (e.g.,
application.properties
orapplication.yml
) - System properties
- Environment variables
If you find any issues in the configuration, fix them, and try running the application again.
Step 4: Verify Classpath and Dependencies
Check if all necessary dependencies are available in the classpath. If your application uses build tools like Maven or Gradle, make sure your pom.xml
or build.gradle
file includes all the required dependencies.
If you find any missing dependencies, add them to your build configuration, and try running the application again.
FAQ
1. What is java.lang.reflect.InvocationTargetException?
InvocationTargetException
is a Java exception that occurs when a method that has been called through reflection (using the java.lang.reflect
package) throws an exception itself.
2. How can I identify the root exception causing the InvocationTargetException?
You can identify the root exception by examining the stack trace of the error, which usually contains a line that says «Caused by:» followed by the original exception.
3. How can I fix the root exception causing the InvocationTargetException?
To fix the root exception, you need to analyze it to understand what caused it. This might involve investigating the code, checking the application’s configuration, and ensuring that all necessary dependencies are available in the classpath.
Ensure that your application’s configuration is correct. This might include checking configuration files, system properties, and environment variables. Fix any issues and try running the application again.
Check if all necessary dependencies are available in the classpath. If your application uses build tools like Maven or Gradle, make sure your pom.xml
or build.gradle
file includes all the required dependencies. Add any missing dependencies, and try running the application again.
- Java Reflection API Documentation
- Oracle: Troubleshooting Java.lang.reflect.InvocationTargetException
- Stack Overflow: What is java.lang.reflect.InvocationTargetException?
Если ваш сервер использует Forge и не запускается с такой ошибкой то вам необходимо сменить версию Java c 11 на 8.
Для изменения версии Java вам нужно перейти к вашему серверу в панели управления, затем в Параметры запуска и выбрать желаемую версию Java в ОБРАЗ DOCKER.
A problem occurred running the Server launcher.java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:70)
at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:34)
Caused by: java.lang.ClassCastException: jdk.internal.loader.ClassLoaders$AppClassLoader incompatible with java.net.URLClassLoader
at net.minecraft.launchwrapper.Launch.<init>(Launch.java:34)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
… 6 more
-
Search
-
Search all Forums
-
Search this Forum
-
Search this Thread
-
-
Tools
-
Jump to Forum
-
-
#1
Feb 3, 2020
Hey guys ive been trying to setup a modded server for the first time im doing the sky factory 3 modpack and i keep running into errors starting with missing JVM.dll which i fixed and another one that i fixed but this is my next roadblock
A problem occurred running the Server launcher.java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:62)
at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:31)
Caused by: java.lang.NoClassDefFoundError: org/apache/logging/log4j/Level
at net.minecraft.launchwrapper.Launch.launch(Launch.java:94)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
… 6 more
Caused by: java.lang.ClassNotFoundException: org.apache.logging.log4j.Level
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
… 8 moreDoes anyone have a clue on how to fix this
-
#5
Feb 3, 2020
the results were
java -version
java version «1.8.0_241»
Java(TM) SE Runtime Environment (build 1.8.0_241-b07)
Java HotSpot(TM) Client VM (build 25.241-b07, mixed mode, sharing) -
#7
Feb 4, 2020
I should already have 64 bit java i downloaded it before i started this escapade i have a file called «jre-8u241-windows-x64» but i reinstalled it and im still getting the same error could it be something that is caused by java and the server files being on different hard drives?
-
#9
Feb 5, 2020
java version «1.8.0_241»
Java(TM) SE Runtime Environment (build 1.8.0_241-b07)
Java HotSpot(TM) Client VM (build 25.241-b07, mixed mode) -
#11
Feb 5, 2020
then im not sure what to do i put in the exact file name im using to install it
-
#12
Feb 5, 2020
i have downloaded and installed all of the different versions of java that are available for download and i cant think of any other thing to do in order to fix not having 64 bit java because i have been able to allocate multiple gigs of ram to minecraft which can only be done with 64-bit java
-
#14
Feb 5, 2020
i have done that i have gone through each version available and deleting the old one all the ones that weren’t the the 64 bit version through back a different error
-
#15
Apr 19, 2020
I had the same problem and have fix it. you need to overwrite the default version.
use: «update-alternatives —config java»
then type <the number of the version> and confirm it with «enter»
- To post a comment, please login.
Posts Quoted:
Reply
Clear All Quotes