Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > Servlets
|
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Servlets section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 12th, 2006, 05:30 AM
Registered User
 
Join Date: Apr 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default error while compiling servlet in Weblogic8.1


hi,

i am facing problem while compiling a servlet.
i have a folder of "bea" in C drive and i created a new folder called "Project" in the same drive .in bea there is also a folder jdk142_08.
under project i created a servlet called "sample" and parallel to that a folder "WEB-INF" .under "WEB-INF" a folder called "classes" and parallel to that web.xml.

now to compile this servlet in cmd prompt i ws at this location
C:\> cd Project
after which i gave the classpath as
C:\Project>set classpath = c:\bea\weblogic81\server\lib\weblogic.jar;.;c:\bea \weblogic81\workshop\lib\tools.jar;

and also one more classpath as
C:\bea\jdk142_08\lib\tools.jar
and finally
C:\Project>javac -d sample.java
which does not give me an error and shows
C:\Project>
which means the sample is compiled , but when i check the Project folder there is no class file for sample. there is only the source file.

pls help i cant figure it out whats happening.

regards,
Aditya









Similar Threads
Thread Thread Starter Forum Replies Last Post
compiling error sarah lee ASP.NET 1.0 and 1.1 Basics 7 May 31st, 2007 07:24 AM
servlet compiling anilcharpe Servlets 1 October 27th, 2006 09:52 PM
error while compiling sarah lee ASP.NET 1.0 and 1.1 Basics 5 October 4th, 2006 09:22 AM
Error in source code compiling angelika J2EE 2 December 29th, 2003 11:45 AM
Char Error In Code - Compiling but strange results aolden C++ Programming 1 July 17th, 2003 11:38 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.