Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Problem with packages.

  1. #1
    Member
    Join Date
    Mar 2014
    Posts
    49
    Thanks
    13
    Thanked 0 Times in 0 Posts

    Default Problem with packages.

    Hello,

    I have got a problem with packages.

    There are some screens:





    In zadanie5.java I have an error such: Stos cannot be resolved to a type.

    How can I solve this problem?

    Thank you,

    fkmk

    EDIT:// Pictures size fixed.
    Attached Images Attached Images


  2. #2
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    4,778
    My Mood
    Mellow
    Thanks
    175
    Thanked 625 Times in 612 Posts

    Default Re: Problem with packages.

    The error means that the type or class Stos cannot be found. Put Stos on the classpath, in the same package, import it, etc. Make it available/visible to the rest of the application.

Similar Threads

  1. Java Packages
    By jothi in forum Java Theory & Questions
    Replies: 4
    Last Post: August 21st, 2013, 09:04 PM
  2. External Packages
    By dougie1809 in forum Java SE APIs
    Replies: 2
    Last Post: March 15th, 2013, 01:51 PM
  3. packages
    By Spidey1980 in forum Java Theory & Questions
    Replies: 2
    Last Post: October 6th, 2011, 06:45 PM
  4. Packages and Servlets
    By god1gracious in forum Java Servlet
    Replies: 3
    Last Post: October 1st, 2011, 10:05 AM
  5. Problem with Packages
    By pirezas in forum What's Wrong With My Code?
    Replies: 3
    Last Post: November 12th, 2010, 02:41 PM