That package: com.trend.iwss.jscan.appscan.runtime has nothing at all
to do with Camel or Maven so its a tad odd.

I tried googling and it looks like its your anti virus software doing
strange things...

http://forums.oracle.com/forums/thread.jspa?messageID=1666620
http://forum.java.sun.com/thread.jspa?threadID=5123159&messageID=9432999

see www.trend.com for more details.

Maybe try downloading on another box thats not running the antivirus
stuff? (Or use a Linux / OS X box?)

On 06/11/2007, tonyjay <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I'm new to Camel and Maven, so I'm not quite sure where to look to resolve
> my issue.  I can't seem to get the examples to run.  I'm trying to run
> camel-example-jms-file.  The problem being reported is it's trying to call a
> method it can't find:
>
> [INFO] com.trend.iwss.jscan.appscan.runtime.PolicyProps: method <init>()V
> not found
>
> Here's the full trace running mvn -e exec:java in the camel-example-jms-file
> directory:
>
> + Error stacktraces are turned on.
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'exec'.
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] Building Camel :: Example :: JMS-File
> [INFO]    task-segment: [exec:java]
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] Preparing exec:java
> [INFO] No goals needed for project - skipping
> [INFO] [exec:java]
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] com.trend.iwss.jscan.appscan.runtime.PolicyProps: method <init>()V
> not found
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NoSuchMethodError:
> com.trend.iwss.jscan.appscan.runtime.PolicyProps: method <init>()V not found
>         at 
> com.trend.iwss.jscan.appscan.runtime.Session.<init>(Session.java:58)
>         at 
> com.trend.iwss.jscan.appscan.runtime.Session.<clinit>(Session.java:33)
>         at
> com.trend.iwss.jscan.appscan.runtime.PolicyRuntime.preFilter(PolicyRuntime.java:128)
>         at
> com.trend.iwss.jscan.appscan.runtime.ThreadPolicyRuntime.preFilter(ThreadPolicyRuntime.java:56)
>         at
> org.codehaus.mojo.exec.ExecJavaMojo$IsolatedThreadGroup.<init>(ExecJavaMojo.java:331)
>         at org.codehaus.mojo.exec.ExecJavaMojo.execute(ExecJavaMojo.java:257)
>         at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at 
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 3 seconds
> [INFO] Finished at: Tue Nov 06 10:08:32 EST 2007
> [INFO] Final Memory: 6M/11M
> [INFO]
> ------------------------------------------------------------------------
>
> My maven/java/machine setup is:
>
> Maven version: 2.0.7
> Java version: 1.5.0_09
> OS name: "windows xp" version: "5.1" arch: "x86"
>
> I've tried running it with maven version 2.0.5.  I am sitting behind a proxy
> but have setup settings.xml to connect through and it appears to be
> downloading the required repository correctly, albeit with a bunch of
> checksum failures (actually most of the downloaded stuff is getting checksum
> errors - is this normal?):
>
> [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
> 'd59cd137cbd480a86447bf5f6a0a549f972f9e66'; remote =
> 'f029a2aefe2b3e1517573c580f948caac31b1056' - IGNORING
>
> Any help appreciated.
>
> Cheers,
>
> Tony
>
> --
> View this message in context: 
> http://www.nabble.com/Camel-Examples-Failing---java.lang.NoSuchMethodError%3A-com.trend.iwss.jscan.appscan.runtime.PolicyProps%3A-method-%3Cinit%3E-tf4755323s22882.html#a13598508
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>


-- 
James
-------
http://macstrac.blogspot.com/

Open Source SOA
http://open.iona.com

Reply via email to