File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes I don't get it..cannot resolve symbol. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "I don Watch "I don New topic
Author

I don't get it..cannot resolve symbol.

Accela Moon
Greenhorn

Joined: Apr 11, 2004
Posts: 20


Error:
[ edited to remove the evil, wicked tab character, and to break some awfully long lines -ds ]
[ April 13, 2004: Message edited by: Dirk Schreckmann ]
jul smith
Greenhorn

Joined: Apr 13, 2004
Posts: 1
In the constructor historyId comes before userId, but when you try and create an object you have the historyId after the userId.
The compiler is telling you that it can't find a constructor with the same types in the same order.
Accela Moon
Greenhorn

Joined: Apr 11, 2004
Posts: 20
Oops, the above code is faulty, but thats not the main problem. It still gives me the same error when compiling.
Accela Moon
Greenhorn

Joined: Apr 11, 2004
Posts: 20
I understand it, the data type in classHistory class is incorrect, sorry for the trouble.
Tobias Hess
Ranch Hand

Joined: Apr 06, 2004
Posts: 55

This is the constructor, it has seven parameters.

And this ist your object creation, it has six parameters.
This doesn't match, does it?
[ April 13, 2004: Message edited by: Tobias Hess ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: I don't get it..cannot resolve symbol.