liuweireign / tectonicus

Automatically exported from code.google.com/p/tectonicus
0 stars 0 forks source link

java.lang.NoSuchMethodError #4

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

What is the expected output? What do you see instead?

Detected Anvil save format
CalculatingChunkHashes
Discovering chunks...
Looking for chunks in Y:\world
Cleaning up...
Writing player skin cache info (0 skin to write)
100%
Player skin cache written
java.lang.NoSuchMethodError: 
org.jnbt.NBTInputStream.<init>(Ljava/io/InputStream;Lorg/jnbt/NBTInputStream$Com
pression;)V
    at tectonicus.raw.RawChunk.init(RawChunk.java:129)
    at tectonicus.raw.RawChunk.<init>(RawChunk.java:99)
    at tectonicus.Chunk.loadRaw(Chunk.java:110)
    at tectonicus.Region.loadChunk(Region.java:325)
    at tectonicus.TileRenderer.preProcess(TileRenderer.java:517)
    at tectonicus.TileRenderer.preProcess(TileRenderer.java:449)
    at tectonicus.TileRenderer.output(TileRenderer.java:263)
    at tectonicus.TectonicusApp.run(TectonicusApp.java:952)
    at tectonicus.TectonicusApp.main(TectonicusApp.java:1212)

What version of the product are you using? On what operating system?
2.09 / win7

Please provide any additional information below.

I get this error when using my config-file (attatched). This stops all progress.

Original issue reported on code.google.com by sense...@gmail.com on 19 Apr 2012 at 2:05

Attachments:

GoogleCodeExporter commented 9 years ago
Sounds like you have a conflicting version of jnbt in your classpath.  This is 
a configuration issue with your pc and cannot be fixed in the code, as far as I 
know.

Original comment by sambened...@gmail.com on 20 Apr 2012 at 12:24

GoogleCodeExporter commented 9 years ago
How can I fix that then? I had no problem with 2.07, before anvil.

Original comment by sense...@gmail.com on 20 Apr 2012 at 12:38

GoogleCodeExporter commented 9 years ago
One possibility is that you have the jnbt.jar fire in the same folder as 
Tectonicus jar.  Try deleting or moving the jnbt.jar if that is the case.

Or try using this command before your java.exe command:

set CLASSPATH=.

This will reset the list of folders Java searches to find external libraries 
for the current shell session only.  If it works, you'll need to use this every 
time or else edit your classpath in the default environment variables (set 
under My Computer, properties, advanced, apportionment variables)

The problem is Tectonicus uses a custom version of jnbt, but somehow your setup 
is finding another version of jnbt somewhere and using that instead.

Original comment by sambened...@gmail.com on 21 Apr 2012 at 4:42

GoogleCodeExporter commented 9 years ago
I got it working now, thank you for your help! 

Original comment by sense...@gmail.com on 21 Apr 2012 at 8:57