Skip to Content
0
Former Member
Oct 28, 2005 at 10:49 AM

Web DYnpro java.lang.Classformatter....extra bytes at the end of class file

40 Views

Hi all,

When I created my view in Web Dynpro (WD) something strange happens. WD automatically adds code of lines to the end of my java files. This code must NOT be put there......it copies some of my java code to the end of the java file.

Some of you gurus know why WD does this? This problem is very annoying, because I get the following error:

java.lang.ClassFormatError: com/nl4b/hours/HoursAppView (Extra bytes at the end of the class file)

at java.lang.ClassLoader.defineClass0(Native Method)

at java.lang.ClassLoader.defineClass(ClassLoader.java:539)

at com.sap.engine.services.deploy.server.ApplicationLoader.defineClassWithInterception(ApplicationLoader.java:168)

at com.sap.engine.services.deploy.server.ApplicationLoader.loadLocalClass(ApplicationLoader.java:140)

at com.sap.engine.frame.core.load.ResourceLoader.loadClass(ResourceLoader.java:143)

I Hope someone can help me.

Kind regards,

Sandhya Banwarie