java.lang.NoSuchMethodError: java.lang.Float: method parseFloat(Ljava/lang/String;)F not found at ShopBean.getCost(Compiled Code)

Oracle Community | 807555 | 2 decades ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Float value giving exception.

    Oracle Community | 2 decades ago | 807555
    java.lang.NoSuchMethodError: java.lang.Float: method parseFloat(Ljava/lang/String;)F not found at ShopBean.getCost(Compiled Code)

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      java.lang.Float: method parseFloat(Ljava/lang/String;)F not found at ShopBean.getCost(Compiled Code)

      at Checkout.doGet()
    2. Unknown
      Checkout.doGet
      1. Checkout.doGet(Checkout.java:20)
      1 frame
    3. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:715)
      1 frame