- This topic has 5 replies, 3 voices, and was last updated 15 years, 9 months ago by
support-shalini.
-
AuthorPosts
-
MarusyaMemberHi, I am not sure if this is eclipse environment issue, but I have a taskdef where certain classes are not found at the time of task creation where others in the same jar or other jars in the same classpath are found. For example, there was a class dependency that was not found, yet when I changed the main taskdef class to this class without changing that classpath it stopped complaining. One other class I created under a different name and copied all logic from a class that was not found and used this new jar, and it also found the new class. This looks really strange to me, I am wondering if it could be some sort of caching issue or a corrupted workspace. I tried to run myeclise with -clean option but this did not help. I would greatly appreciate any help.
rmcvayMemberNow the real support folks here are a lot sharper than I am so maybe they understand this but I’m having a hard time determining whether you’re describing a run time problem or a build time problem.
support-shaliniMemberMarusya,
Your post is not clear as Ray has pointed out. Can you list out the steps, in detail, of what you are trying to do?
Also, can you copy paste your installation details from MyEclipse > Installation Summary > Installation Details?
MarusyaMemberThanks, guys.
Here are the installation details
*** Date:
Thursday, July 30, 2009 2:06:34 PM EDT** System properties:
OS=WindowsXP
OS version=5.1.0
Java version=1.6.0_13*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 7.5
Build id: 7.5-20090609*** Eclipse details:
MyEclipse Enterprise WorkbenchVersion: 7.5
Build id: 7.5-20090609Eclipse Plug-in Development Environment
Version: 3.4.2.R342_v20090122-7T7U1E9imVKz-A8Vz-p_jRS
Build id: M20080703-0800Eclipse Platform
Version: 3.4.2.R342_v20090122-9I96EiWElHi8lheoJKJIvhM3JfVsYbRrgVIWL
Build id: M20090211-1700Eclipse Graphical Editing Framework GEF
Version: 3.4.2.v20090218-1145-67728084A56B4I233613552
Build id: 200809101400Eclipse RCP
Version: 3.4.200.R342_v20090122-989JESTEbig-SVaL8UJHcYBr4A63
Build id: M20090211-1700Eclipse Java Development Tools
Version: 3.4.2.r342_v20081217-7o7tEAoEEDWEm5HTrKn-svO4BbDI
Build id: M20090211-1700Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
C:\Program Files\Genuitec\MyEclipse 7.5\myeclipse.exe
-name
Myeclipse
–launcher.library
C:\Program Files\Genuitec\MyEclipse 7.5\../Common\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.101.R34x_v20080731\eclipse_1115.dll
-startup
C:\Program Files\Genuitec\MyEclipse 7.5\../Common\plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20081125.jar
-clean
-configuration
C:\Program Files\Genuitec\MyEclipse 7.5\configuration
-clean
-vm
C:\Program Files\Genuitec\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\bin\client\jvm.dllHere is the build time error that I am getting that I think may be related to the classnotfound issue
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/apache/log4j/helpers/Loader.class from C:\opt\Projects\DMS_IRS\dfs_libs\lib\cobertura\lib\junit-license.html
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/apache/log4j/helpers/LogLog.class from C:\opt\Projects\DMS_IRS\dfs_libs\lib\cobertura\lib\jakarta-oro-license.txt
Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource org/apache/log4j/helpers/LogLog.class from C:\opt\Projects\DMS_IRS\dfs_libs\lib\cobertura\lib\junit-license.html
[buildInstrumentedService] java.util.zip.ZipException: error in opening zip file
[buildInstrumentedService] at java.util.zip.ZipFile.open(Native Method)
[buildInstrumentedService] at java.util.zip.ZipFile.<init>(ZipFile.java:114)
[buildInstrumentedService] at java.util.zip.ZipFile.<init>(ZipFile.java:131)
[buildInstrumentedService] at org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLoader.java:1014)
[buildInstrumentedService] at org.apache.tools.ant.AntClassLoader.getResource(AntClassLoader.java:917)
[buildInstrumentedService] at org.apache.log4j.helpers.Loader.getResource(Loader.java:91)
[buildInstrumentedService] at org.apache.log4j.LogManager.<clinit>(LogManager.java:94)
[buildInstrumentedService] at com.emc.documentum.fs.rt.impl.Log4jAdapter.<init>(Log4jAdapter.java:16)
[buildInstrumentedService] at com.emc.documentum.fs.rt.impl.DfsLogger.getLogger(DfsLogger.java:13)
[buildInstrumentedService] at com.emc.documentum.fs.tracing.DFSTracer.<clinit>(DFSTracer.java:772)
[buildInstrumentedService] at com.emc.documentum.fs.aspects.Tracing.ajc$before$com_emc_documentum_fs_aspects_Tracing$1$8b9079b8(Tracing.aj:24)
[buildInstrumentedService] at com.emc.documentum.fs.rt.impl.configuration.ServiceResourceBundle.getInstance(ServiceResourceBundle.java:46)
[buildInstrumentedService] at com.emc.documentum.fs.tools.ServiceCreationException.<init>(ServiceCreationException.java:65)
[buildInstrumentedService] at org.finra.antbuild.utils.FinraBuildServiceTask.executeTask(FinraBuildServiceTask.java:44)
[buildInstrumentedService] at com.emc.documentum.fs.tools.impl.ChainedExceptionReportingTask.execute(ChainedExceptionReportingTask.java:17)
[buildInstrumentedService] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[buildInstrumentedService] at sun.reflect.GeneratedMethodAccessor39.invoke(Unknown Source)
[buildInstrumentedService] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[buildInstrumentedService] at java.lang.reflect.Method.invoke(Method.java:597)
[buildInstrumentedService] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
[buildInstrumentedService] at org.apache.tools.ant.Task.perform(Task.java:348)
[buildInstrumentedService] at org.apache.tools.ant.Target.execute(Target.java:357)
[buildInstrumentedService] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[buildInstrumentedService] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
[buildInstrumentedService] at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
[buildInstrumentedService] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
[buildInstrumentedService] at org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
[buildInstrumentedService] at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
[buildInstrumentedService] at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:623)
[buildInstrumentedService] at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:456)
[buildInstrumentedService] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[buildInstrumentedService] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[buildInstrumentedService] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[buildInstrumentedService] at java.lang.reflect.Method.invoke(Method.java:597)
[buildInstrumentedService] at org.eclipse.ant.core.AntRunner.run(AntRunner.java:378)
[buildInstrumentedService] at org.eclipse.ant.internal.ui.launchConfigurations.AntLaunchDelegate.runInSameVM(AntLaunchDelegate.java:266)
[buildInstrumentedService] at org.eclipse.ant.internal.ui.launchConfigurations.AntLaunchDelegate.launch(AntLaunchDelegate.java:228)
[buildInstrumentedService] at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:764)
[buildInstrumentedService] at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:614)
[buildInstrumentedService] at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:607)
[buildInstrumentedService] at org.eclipse.ui.externaltools.internal.model.ExternalToolBuilder.launchBuild(ExternalToolBuilder.java:179)
[buildInstrumentedService] at org.eclipse.ui.externaltools.internal.model.ExternalToolBuilder.doBuildBasedOnScope(ExternalToolBuilder.java:167)
[buildInstrumentedService] at org.eclipse.ui.externaltools.internal.model.ExternalToolBuilder.build(ExternalToolBuilder.java:86)
[buildInstrumentedService] at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:633)
[buildInstrumentedService] at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
[buildInstrumentedService] at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:170)
[buildInstrumentedService] at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:201)
[buildInstrumentedService] at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:253)
[buildInstrumentedService] at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
[buildInstrumentedService] at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:256)
[buildInstrumentedService] at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:218)
[buildInstrumentedService] at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:360)
[buildInstrumentedService] at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:516)
[buildInstrumentedService] at org.eclipse.core.internal.resources.Project.build(Project.java:94)
[buildInstrumentedService] at org.eclipse.ui.actions.BuildAction.invokeOperation(BuildAction.java:221)
[buildInstrumentedService] at org.eclipse.ui.actions.WorkspaceAction.execute(WorkspaceAction.java:162)
[buildInstrumentedService] at org.eclipse.ui.actions.WorkspaceAction$2.runInWorkspace(WorkspaceAction.java:483)
[buildInstrumentedService] at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
[buildInstrumentedService] at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
rmcvayMemberI don’t see a name but it looks like you’ve got a bad zip or jar file the builder is trying to read.
support-shaliniMemberMarusya,
Thank you for the installation details.
Going by the following error,Ignoring Exception java.util.zip.ZipException: error in opening zip file reading resource
I could find the following links
1. http://blog.anthonychaves.net/java/2006/12/01/solution-for-classnotfoundexception-with-junit-and-ant
2. http://www.mail-archive.com/google-web-toolkit@googlegroups.com/msg03493.html
Let me know if these are of any help. -
AuthorPosts