Kevin156
(Kevin Roberts)
November 6, 2015, 6:51am
1
How do I fix this?
[INFO]
[WARN]
Line 4074: Referencing deprecated class ‘com.vaadin.shared.ui.progressindicator.ProgressIndicatorState’
[INFO]
[WARN]
Line 4077: Referencing deprecated class ‘com.vaadin.shared.ui.progressindicator.ProgressIndicatorState’
[INFO]
[WARN]
Line 4080: Referencing deprecated class ‘com.vaadin.shared.ui.progressindicator.ProgressIndicatorState’
Enver
(Enver Haase)
November 10, 2015, 2:24pm
2
Hi Kevin,
it depends on what you are trying to achieve.
You can simply annotate your class or your method saying
@SuppressWarnings ( “deprecation” )
But then of course you should try to get rid of code that uses the
ProgressIndicatorState class at all at some point.
Kevin155
(Kevin Roberts)
November 10, 2015, 11:17pm
3
No in my code some in Vaadin how do I do that?
Enver
(Enver Haase)
November 11, 2015, 1:44pm
4
What is the name of the class with lines Line 4074, 4077, Line 4080 ? Where is it from?
Are you using NetBeans and the Vaadin plugin for NetBeans? Which version of Vaadin are you using?
Do you know this ticket here? https://dev.vaadin.com/ticket/13621
Best Regards,
Enver
Kevin155
(Kevin Roberts)
November 12, 2015, 2:27am
5
Do not have line number 4074-4080 in my code…
If you add all classes together will not be 4000 lines yet.
Do not use NetBeans.
No have not see ticket.
I use Eclipse and that plugin with Maven
Version is now 7.5.9 was 7.5.8
Enver
(Enver Haase)
November 12, 2015, 4:24am
6
So now that you know the ticket can you please have a look whether your problem is described there already?
Does the problem appear with a simple
mvn archetype:generate \ -DarchetypeGroupId=com.vaadin \ -DarchetypeArtifactId=vaadin-archetype-clean \ -DarchetypeVersion=LATEST \ -DgroupId=your.company \ -DartifactId=project-name \ -Dversion=1.0 \ -Dpackaging=war
as well? When do you see it?
Does it not say which class is actually using the deprecated class?
Kevin155
(Kevin Roberts)
November 12, 2015, 5:16am
7
Ok will try never tryed a maven on command line yet.