On 21 juil, 17:07, Siva K <kssr...@gmail.com> wrote:
> Hi
>
> im running bookstore2
>
> when i access the deployed app through both ie and firefox iam getting a
> error as in attchment
>
> when i click on that  the following is displayed
>
> Java Plug-in 1.6.0_20
> Using JRE version 1.6.0_20-b02 Java HotSpot(TM) Client VM
> User home directory = C:\Documents and Settings\kss
> ----------------------------------------------------
> c:   clear console window
> f:   finalize objects on finalization queue
> g:   garbage collect
> h:   display this help message
> l:   dump classloader list
> m:   print memory usage
> o:   trigger logging
> q:   hide console
> r:   reload policy configuration
> s:   dump system and deployment properties
> t:   dump thread list
> v:   dump thread stack
> x:   clear classloader cache
> 0-5: set trace level to <n>
> ----------------------------------------------------
>
> load: class clock/DigitalClock.class not found.

I copy here an old answer to this question on this forum:

To clear up the ClassNotFoundException you need to copy the
clock.DigitalClock classes to the ${project.home}build/web directory,
because applet classes must be relative to the root directory not the
WEB-INF/classes directory.
If you add the following ant target to your build.xml file it should
fix it
<target name="-pre-dist">
        <!-- Empty placeholder for easier customization. -->
        <!-- You can override this target in the ../build.xml file.
--

        <echo message="Pre Dist"/>
        <copy todir="${build.web.dir}">
            <fileset dir="${build.classes.dir}"  >
                <include name="clock/*.class"/>
            </fileset>
        </copy>
    </target>

Michèle Garoche

-- 
You received this message because you are subscribed to the Google
Groups "Java EE (J2EE) Programming with Passion!" group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

Reply via email to