I am simply learning JSP and this code comes straight out of an "how to" book and already I am getting errors...below is my code..PLEASE HELP!!!!!

my error message on run is:

{{java.lang.NoClassDefFoundError: Apache
Exception in thread "main"}}

here is my actual code:

package com.wrox.cars;


import java.io.Serializable;

public class CarBean implements Serializable{

private String make = "Ford";

public void setMake(String make) {
this.make = make;
}

public String getMake() {
return this.make;
}

public CarBean() {
}

private double cost = 10000.00;
private double taxRate = 17.5;

public double getPrice(double p) {
return (p + (p * (taxRate/100)));
}

public double getTaxedPrice() {
return getPrice(cost);
}

private void setTaxedPrice(double newTaxRate) {
}

}