• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Cannot be resolved to a type

 
Ranch Hand
Posts: 245
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I copyed 'everything' to new machine, so all looks good.

When I type at design:


everything gets suggested as expected, so all conneted OK.
Not using Import here, is obviously irelevant.

At run time:
foo.foo1.foo2 cannot be resolved to a type (same thing in same manner on existing peaces of code that used to work OK).


Thanks for tips.

 
author
Posts: 23951
142
jQuery Eclipse IDE Firefox Browser VI Editor C++ Chrome Java Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Miran Cvenkel wrote:At run time:
foo.foo1.foo2 cannot be resolved to a type (same thing in same manner on existing peaces of code that used to work OK).



If it compiles okay, but doesn't run okay, I would look to see what the CLASSPATH differences are.

BTW, no idea what you mean by "suggested as expected" and "connected okay".

Henry
 
Miran Cvenkel
Ranch Hand
Posts: 245
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks.

Ahh cr.., I gave up on net beans 7.0.1 & bundled apache tomcat 7.0 (where they invented new roles, from which I manged to implement only manager-script, all the rest did not work whatewer I did), and reverted to previous verions of NB and AT.

The net has a lot of statements that NB & AT 7.0 does not work ok together.

All OK now.
 
They worship nothing. They say it's because nothing lasts forever. Like this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic