2023-12-19
Anydesk contacts and histories been "reset" after keyin / provided License Key.
2023-11-21
Maven dependencies messed up.
Eclipse: 202306R
Resolved by removed the version from project build path.
Scenario:
2023-11-02
2023-10-13
Maven:install error artifact.jar.tmp -> artifact.jar
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:3.1.1:install(default-install) on project <YourMavenArtifactID>: Failed to install artifact <YourMavenArtifactGroup:YourMavenArtifactID>:jar:0.0.1-SNAPSHOT: <YourMavenArtifactJarFullPath>.8123123123123123123.tmp -> <YourMavenArtifactJarFullPath> -> [Help 1]
Initially have no idea what was really is.
2023-09-08
Internet Options - USE TLS grey out.
Internet Options
- KB5017811—Manage Transport Layer Security (TLS) 1.0 and 1.1 after default behavior change on September 20, 2022 - Microsoft Support
- Error: Some Settings are managed by your system administrator, when - Microsoft Community
- https://answers.microsoft.com/en-us/windows/forum/all/switching-from-tls-10-to-11-12-in-windows-10-help/137102b2-a1f0-4de2-8dd3-a51a854d4abe
Use TLS checkboxes are grey out.
Struggled few days then found this....
- Set Not Configured for Turn off encryption support in:
- Computer Configuration:
Local Computer Policy > Computer Configuration > Administrative Templets > Windows Components > Internet Explorer > Internet Control Panel > Advanced Page > Turn off encryption support - User Configuration:
Local Computer Policy > User Configuration > Administrative Templets > Windows Components > Internet Explorer > Internet Control Panel > Advanced Page > Turn off encryption support - Renamed key of SecureProtocols to tobedeleted_SecureProtocols
2023-08-30
git svn clone Unable to connect to a repository at URL Error running context: An error occurred during SSL communication at mingw64/share/perl5/Git/SVN.pm line 148
But found no issue with:
Revert to use PortableGit-2.37.3-64-bit for svn to git migration
gitlab-ctl reconfigure auto reconstructed ssl folder
Issued On Wednesday, 30 August 2023 at 06:46:28
Expires on Friday, 29 September 2023 at 06:46:28
with:
.key
.crt
.key-staging
.pem
2023-08-19
git svn clone error An error occurred during SSL communication
"git svn clone" APR does not understand this error code: ra_serf: An error occurred during SSL communication at ...\git-svn line 392
2023-08-18
Eclipse SVN text decoration date format
Found reference: https://stackoverflow.com/a/7725583
Window > Preferences > Version Control (Team) > SVN > View Settings
Custom date: y-MMM-dd HH:mm:ss.SSS
2023-08-14
Git Main VS Master
Git Main VS Master: A Comprehensive Comparison
https://marketsplash.com/tutorials/git/git-main-vs-master/
2023-08-11
GitLab Community Edition 12.10.14 Full backup
Version: GitLab Community Edition 12.10.14
Full backup failed with command: gitlab-rake gitlab:backup:create
Version: GitLab Community Edition 12.10.14
Full backup successful with command: gitlab-backup create
2023-08-10
GitLab wiki page title with special character issue.
- GitLab Community Edition 10.8.7 able to show wiki Page content of "Noob version)"
Solutions:
- Upgrade to GitLab that can edit the page, but I didn't log down which version.
- Open the Wiki Page, and remove those characters.
- Then you can clone the wiki page to your local.
Background
GitLab Community Edition 10.1.0 5a695c4
Users created some wiki pages with title of below:
- How-to-Deploy-your-Project(-Front-end)-From-VSC-locally?-(Newbie/Noob version)
- Instance ip.address:9010 operation process flow
Impacts
Character "?"
- Wiki Page structures screwed up.
- Unable to open the page "Noob version)", as / is valid and act as sub page of a parent page of text before "/"
- Failed to clone to windows environment as not allow "?" as filename.
Character ":"
- Wiki Page showing correctly.
- Wiki Page has no issue to be edited.
- But failed to clone to windows environment as not allow ":" as filename.
Clone script
git clone ssh://git@test.gitlab.yourcompany.local:2202/com/yourcompany/general.wiki.git
- Replaced ":" character with "-" at WIKI Page Title
Special characters been identified causing cloning wiki issue:
- -
- ?
2023-05-19
2023-05-17
Failed to remove PowerDirectorforDell fromWindowsApps
Reference URL: https://www.tenforums.com/performance-maintenance/185009-how-clean-up-windowsapps-folder.html
Relevant URL: https://winbuzzer.com/2020/06/16/how-to-remove-windows-10s-built-in-apps-bloatware-and-and-restore-them-again-xcxwbt/
Failed to remove PowerDirectorforDell fromWindowsAppsPS C:\WINDOWS\system32> Get-AppxPackage -allusers *PowerDirectorforDell*Name : DB6EA5DB.PowerDirectorforDellPublisher : CN=899678FE-321F-4A81-BE95-1802E9A98F2FArchitecture : X64ResourceId :Version : 15.0.4409.0PackageFullName : DB6EA5DB.PowerDirectorforDell_15.0.4409.0_x64__mcezb6ze687jpInstallLocation : C:\Program Files\WindowsApps\DB6EA5DB.PowerDirectorforDell_15.0.4409.0_x64__mcezb6ze687jpIsFramework : FalsePackageFamilyName : DB6EA5DB.PowerDirectorforDell_mcezb6ze687jpPublisherId : mcezb6ze687jpPackageUserInformation : {S-1-5-21-72608189-3911518983-1797934022-1027 [keon]: Installed}IsResourcePackage : FalseIsBundle : FalseIsDevelopmentMode : FalseNonRemovable : FalseIsPartiallyStaged : FalseSignatureKind : StoreStatus : OkPS C:\WINDOWS\system32>PS C:\WINDOWS\system32>PS C:\WINDOWS\system32> Get-AppxPackage -allusers *PowerDirectorforDell* | Remove-AppxPackageRemove-AppxPackage : Deployment failed with HRESULT: 0x80073CF1, Package was not found.Windows cannot remove DB6EA5DB.PowerDirectorforDell_15.0.4409.0_x64__mcezb6ze687jp because the current user does not have that package installed. Use Get-AppxPackage to see the list of packages installed.NOTE: For additional information, look for [ActivityId] 5b5440af-88d0-0000-e4a0-565bd088d901 in the Event Log or use the command line Get-AppPackageLog -ActivityID 5b5440af-88d0-0000-e4a0-565bd088d901At line:1 char:52+ Get-AppxPackage -allusers *PowerDirectorforDell* | Remove-AppxPackage+ ~~~~~~~~~~~~~~~~~~+ CategoryInfo : ObjectNotFound: (DB6EA5DB.PowerD...__mcezb6ze687jp:String) [Remove-AppxPackage], PSInvalidOperationException+ FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.RemoveAppxPackageCommand
Finally, 2024-03-23 1140pm+0800, I got it removed at: https://billson.blogspot.com/2024/03/finally-removed-powerdirectorfordell.html
2023-04-06
Spring Boot @Scheduled only run 1 thread.
Else use fixedRate
Reference URL: https://stackoverflow.com/a/35094357/6462295
Implementation with @Scheduled with cron
Reference URL: https://stackoverflow.com/a/74900033/6462295java.util.concurrent.locks.ReentrantLock
[Solved] - object to JSON string exception
- Spring Boot 2.7.6
- JUnit 5
- JPA
Error Message:
com.fasterxml.jackson.databind.exc.InvalidDefinitionException: No serializer found for class org.hibernate.proxy.pojo.bytebuddy.ByteBuddyInterceptor and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: com.yourcompany.entity.Table$HibernateProxy$3enmhWuU["hibernateLazyInitializer"])
Reference URL: https://stackoverflow.com/a/67354659/6462295
Adding annotation below to your entity.
[Solved] - LazyInitializationException: could not initialize proxy
org.hibernate.LazyInitializationException: could not initialize proxy [com.yourcompany.entity.Table#123456] - no Session
relevant tags:
- Spring Boot 2.7.6
- JUnit 5
- JPA
Resolved by both below:
2. Adding configuration into application.properties
2023-03-30
Valid redirect URIs for Keycloak 20.0.1
Keycloak Error:
2023-03-08
SVN with eclipse 2022-12 R & 2023-06 R
Last check on 20230308_am120205: still with version
Installer 2022‑12 R
Also: https://download.eclipse.org/technology/subversive/4.8/release/latest/
Ouch, Install Remediation Page...
resolved by: remove "TLSv1, TLSv1.1"
Reference URL: https://stackoverflow.com/a/71050085
You can set it in JRE inside SoapUI (if you are using it): Remove "TLSv1, TLSv1.1" from "jdk.tls.disabledAlgorithms" property in file ${soapui_home}/jre/conf/securityjava.security.
File Path at: .\Eclipse\eclipse-jee-2022-12-R-win32-x86_64\plugins\org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_17.0.6.v20230204-1729\jre\conf\security\java.security
SCM Connector
scm | Eclipse Plugins, Bundles and Products
An error occurred while collecting items to be installed
session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,com.ibm.icu.base,58.2.0.v20170418-1837
No repository found containing: osgi.bundle,javax.transaction,1.1.1.v201105210645
Subversive:
- after check out from SVN, u hv to "convert" into maven project by right click on project, then look for Configure > Convert to Maven Project.
Subsclipse:
Pros:
- direct check out from repo, with proper config for maven project
- Crucial feature for huge project: Show Revision Graph.
- u can't revert file during commit screen, u hv leave commit window/screen, go back to project explorer, then right click your project, looks for Team > Revert to trigger revert process.
Archive remote info:
Installation Instructions
Here you can find instructions on how to install Subversive using different types of Subversive distributions.
Introduction
The Subversive (SVN) installation consists of installing the Subversive plug-in and a Subversive SVN Connector. The Subversive plug-in is developed as an Eclipse official project with an EPL license and is distributed from the Eclipse website. A Subversive SVN Connector uses a SVN library to communicate with SVN repositories. Currently, there is only the connector which uses the SVNKit library. This library is developed as open-source project, but since its license is not EPL-compatible, the whole connector has to be distributed from an external website.
In order to use Subversive, you have to install the Subversive plug-in and the connector that is compatible with your operating system (OS) and the used SVN version.
Phase 1 - Installation of the Subversive Plug-In
You can install Subversive using its online or archived update site.
- Run Eclipse and select Help > Install New Software... from the main menu.
- In the Install dialog that appears, press the Add... button and specify the path to an online or archived Subversive update site, e. g. https://download.eclipse.org/technology/subversive/4.8/release/latest/. If you need a specific version, have a look at the Downloads page.
- Select the required Subversive features to install and follow the standard plug-in installation procedure. Reboot Eclipse after installation is complete.
- Follow the instructions below to install Subversive connectors.
Phase 2 - Installation of Subversive SVN Connectors
Once the Subversive plug-in is installed and Eclipse is rebooted, Subversive automatically displays the dialog that shows Subversive SVN Connectors compatible with the installed version of the plug-in. Alternatively, you can install Subversive SVN Connectors from online and archived update sites for connectors.
- Run Eclipse and select Help > Install New Software... from the main menu.
- In the Install dialog that appears, press the Add... button and enter the URL of the following update site: https://osspit.org/eclipse/subversive-connectors/.
- Select the required features to install and follow the standard plug-in installation procedure. Reboot Eclipse after installation is complete.
2023-01-12
Finding - 2 different ways to get result from API to showing by using Datatables.net
Reference URL: https://stackoverflow.com/a/68456824/6462295
As of 2023Feb07_1503 - failed to achieve by method of: data: data
My html table:
<table id="listaVideos2" class="display"> <thead> <tr> <th>nombre</th> <th>descripcion</th> <th>codigoYoutube</th> <th>bpm</th> </tr> </thead> </table>
My JavaScript:
$.ajax({ "url": "listado2", "type": "GET", "datatype": 'json', "success": function (data) { $('#listaVideos2').DataTable({ "fixedHeader" : true, "paging": false, "info": true, "autoWidth": true, "order": [], data: data, select: true, columns: [ { "data": "nombre" }, { "data": "descripcion" }, { "data": "codigoYoutube", "title": "Youtube", "orderable": false }, { "data": "bpm" }, ] }); } });
or another way you can use:
$('#listaVideos2').DataTable({ "fixedHeader" : true, "paging": false, "info": true, "autoWidth": true, "order": [], ajax: { url: 'listado2', dataSrc: '' }, select: true, columns: [ { "data": "nombre" }, { "data": "descripcion" }, { "data": "codigoYoutube", "title": "Youtube", "orderable": false }, { "data": "bpm" }, ], buttons: [ { extend: "create", editor: editor }, { extend: "edit", editor: editor }, { extend: "remove", editor: editor } ], dom: "Bfrtip", });
And my Controller: (if your controller is a @RestController I think you wouldn't need the @ResponseBody)
@GetMapping("/listado2") @ResponseBody public List<Video> apiListadoVideos() { return videosServicio.buscarTodosLosVideos(); }
where my Video class is this simple (I just remove de getters, setters...):
public class Video { private Integer id; @NotEmpty @NotBlank private String nombre; private String descripcion; @NonNull @NotBlank private String codigoYoutube; private String bpm; private Categoria categoria; private Tono tono; private Modo modo; }