Ir al contenido principal

Programación | Java | Eclipse | Utilidades | Solucion | Advertencia o error The serializable class TestGUI does not declare a static final serialVersionUID

Advertencia: The serializable class TestGUI does not declare a static final serialVersionUID field of type long


Hola! a todos, aquí les mostrare como desactivar la advertecia que muestra eclipse cuando se usa el editor o Framework Eclipse.



Comencemos:
En esta ocasión usaré Eclipse Mars:  https://eclipse.org/downloads/packages/release/Mars/2


167 MB - Downloaded 1,678,134 Times







Con el programa abierto, click en el menu: "Window" luego  Preferences
En la siguiente ventana: ubicarse en Java > Errors/Warnings
Desplegar : "Potential programming problems"
Buscar: "Serializable class without serial/versionUID" y elegir la opcion Ignorar



en caso solo se use para un determinado proyecto, click derecho > propiedades y realizar lo mismo.
Saludos y sigan eliminando errores :)


Créditos: AQP Computer 

Comentarios

Entradas populares de este blog

Windows | Linux | Java SE 8 Archive Downloads (JRE y JDK 8u211 and later)

 https://www.oracle.com/java/technologies/javase/javase8u211-later-archive-downloads.html Java SE 8 Archive Downloads (JDK 8u211 and later) Go to the  Oracle Java Archive  page. The JDK is a development environment for building applications using the Java programming language. The JDK includes tools useful for developing and testing programs written in the Java programming language and running on the Java TM  platform. Important Oracle JDK License Update The Oracle JDK License has changed for releases starting April 16, 2019. The new  Oracle Technology Network License Agreement for Oracle Java SE  is substantially different from prior Oracle JDK licenses. The new license permits certain uses, such as personal use and development use, at no cost -- but other uses authorized under prior Oracle JDK licenses may no longer be available. Please review the terms carefully before downloading and using this product. An FAQ is available  here . Commercial licens...

Google | Chrome | Navegador | Versiones | Windows, Linux y MAC OS

Google Chrome Older Versions Download (Windows, Linux & Mac) Why use an older version of Google Chrome? Google only provides an online setup file for Google Chrome which installs the latest version of Google Chrome. It happens frequently that a user upgrades to a new version of Google Chrome and gets upset by an unpleasant feature, a missing option or an annoying bug. Therefore, some users want to roll back to an older version of Google Chrome to preserve a useful feature, option or support some legacy technology. However, is it really wise to use an out-dated verison of Google Chrome? The answer is NO since out-dated browsers usually come with security issues. For users who insist on using an old version of Google Chrome and  becoming vulnerable to security issues , you can find the right version of Google Chrome to download for your platform in the following sections. Support of Java, Silverlight and NPAPI plugins Unfortunately, we only started to archive old versions of Chro...

Windows | INVALID CLASS ERROR | CMD | SYSTEMINFO | DRIVERS | WMI | Windows Management Instrumentation service | Clase no valida | Cómo reparar WMI

 Windows | INVALID CLASS ERROR | CMD | SYSTEMINFO | DRIVERS Error cuando ejecuto aplicaciones o en el sistema Operativo: System.Management.ManagementException Invalid class Se debe realizar lo siguiente: Inicie el complemento WMI MMC en  Inicio  ->  Ejecutar  -> luego ingrese  WMIMGMT.MSC Haga clic con el botón derecho en  Control WMI (local)  y haga clic en  Propiedades Si WMI funciona correctamente, mostrará Buenas propiedades.  Si ve una  clase no válida,   entonces su WMI no está funcionando correctamente. Malo Bien Solución de problemas: Abrir cmd y ejecutar: sfc /scannow DISM /Online /Cleanup-Image /RestoreHealth Winmgmt.exe /standalonehost Winmgmt.exe /resetrepository winmgmt /resyncperf Una vez terminado, revise  WMIMGMT.MSC  para ver si está completando las Propiedades correctamente. https://techcommunity.microsoft.com/t5/ask-the-performance-team/wmidiag-2-2-is-here/ba-p/375642 Windows Management I...