en
Feedback
Чашечка Java

Чашечка Java

Open in Telegram

Лучшие материалы по Java на русском и английском Разместить рекламу: @tproger_sales_bot Правила общения: https://tprg.ru/rules Другие каналы: @tproger_channels

Show more
8 539
Subscribers
No data24 hours
-137 days
-2930 days
Posts Archive
4 канала для тех, кто хочет прокачаться в определённом направлении программирования: — разработка на Python: @zen_of_python — мобильная разработка: @mobi_dev — веб-разработка: @tproger_web — основы программирования: @prog_point

Top 10 Frequently asked SQL Query Interview Questions In this article, I am giving some examples of SQL queries which is freq
Top 10 Frequently asked SQL Query Interview Questions In this article, I am giving some examples of SQL queries which is frequently asked when you go for a programming interview, having one or two year experience in this field. Whether you go for a Java... Read: http://www.java67.com/2013/04/10-frequently-asked-sql-query-interview-questions-answers-database.html

Ускорение Maven сборки в Docker Ранее я описал различные методы ускорения ваших Maven сборок. Сегодня я хотел бы расширить их
Ускорение Maven сборки в Docker Ранее я описал различные методы ускорения ваших Maven сборок. Сегодня я хотел бы расширить их область применения и сделать то же самое для сборок Maven внутри Docker. Читать: https://habr.com/ru/post/583600/?utm_campaign=583600

SSH – Load key “/Users/username/.ssh/id_rsa.pub”: invalid format Suddenly the git pushvia SSH failed, and the remote server returned something like invalid format for the public key id_rsa.pub? Terminal git push Load key "/Users/username/.ssh/id_rsa.pub": invalid format git@bitbucket.org: Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. Last week, everything still working fine, unsure what is the root cause of it? 1. Check ~/.ssh/config Review the ~/.ssh/config file and ensure the IdentityFilepoints to the private key id_rsa, not the public key id_rsa.pub. Note For the ~/.ssh/config, the IdentityFileshould point to the private key that the SSH client uses to connect to the remote server (The remote server should have the public key id_rsa.pub`). The common mistake is put the public key id_rsa.pubas the IdentityFilevalue. Terminal cat ~/.ssh/config Host * AddKeysToAgent yes UseKeychain yes IdentityFile ~/.ssh/id_rsa.pub 2. Solution Open the ~/.ssh/configfile, update the IdentityFile, and point it to the private key id_rsa. Terminal nano ~/.ssh/config ~/.ssh/config Host * AddKeysToAgent yes UseKeychain yes IdentityFile ~/.ssh/id_rsa References * Configure SSH and two-step verification * Git on the Server – Generating Your SSH Public Key Read: SSH – Load key “/Users/username/.ssh/id_rsa.pub”: invalid format on Mkyong.com.

Neoflex проводит Hiring Week для Java-разработчиков и системных аналитиков С 18 по 24 октября Neoflex приглашает Senior Java-
Neoflex проводит Hiring Week для Java-разработчиков и системных аналитиков С 18 по 24 октября Neoflex приглашает Senior Java-разработчиков и системных аналитиков принять участие в Neoflex Hiring Week. Присоединяйся к нашей команде и получай welcome-бонус в размере одного оклада. Как принять участие в Neo Hiring Week? • Заполни заявку на сайте; • Получи подтверждение от рекрутера; • Пройди техническое собеседование; • Прими оффер в течение 48 часов и получи welcome-бонус! Читать: https://habr.com/ru/post/584056/?utm_campaign=584056

Neoflex Hiring Week Компания Neoflex ищет Senior Java-разработчиков и системных аналитиков из любого города России. Присоедин
Neoflex Hiring Week Компания Neoflex ищет Senior Java-разработчиков и системных аналитиков из любого города России. Присоединяйтесь к команде Neoflex и получайте welcome-бонус в размере одного оклада. Читать: «Neoflex Hiring Week»

Maven error – invalid target release: 17 We upgraded the project from Java 11 to Java 17, and mvn testhits the error compiling invalid target release: 17? pom.xml <properties<java.version17 Terminal mvn test [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project spring-boot-hello: Fatal error compiling: error: invalid target release: 17 -> [Help 1] The Java version is already 17. Terminal java -version openjdk version "17" 2021-09-14 OpenJDK Runtime Environment Homebrew (build 17+0) OpenJDK 64-Bit Server VM Homebrew (build 17+0, mixed mode, sharing) 1. Find out the Java version in Maven The Maven may be using a different Java version to compile the project, and we can use mvn -versionto find out the Maven details. Terminal mvn -version Apache Maven 3.8.3 (ff8e977a158738155dc465c6a97ffaf31982d739) Maven home: /usr/local/Cellar/maven/3.8.3/libexec Java version: 11.0.10, vendor: Oracle Corporation, runtime: /usr/local/Cellar/openjdk@11/11.0.10/libexec/openjdk.jdk/Contents/Home Default locale: en_MY, platform encoding: UTF-8 OS name: "mac os x", version: "11.6", arch: "x86_64", family: "mac" Try print out the JAVA_HOMEenvironment variable; Maven finds JAVA_HOME for Java to compile. Terminal echo $JAVA_HOME /usr/local/Cellar/openjdk@11/11.0.10/libexec/openjdk.jdk/Contents/Home The Maven is still using Java 11. 2. Solution – Update JAVA_HOME Updating the JAVA_HOME environment variable and ensuring it points to the correct JDK. 2.1 For macOS, open the ~/.zshenvand update the JAVA_HOMEto Java 17 The JAVA_HOMEis pointing to Java 11. ~/.zshenv export JAVA_HOME=$(/usr/libexec/java_home -v 11) We upgraded the JAVA_HOMEto Java 17. ~/.zshenv export JAVA_HOME=$(/usr/libexec/java_home -v 17) 2.2 sourcethe ~/.zshenvor reopen the shell to reflect the change of the JAVA_HOME. Terminal source ~/.zshenv 2.3 Recheck Maven’s Java version. Terminal mvn -version Apache Maven 3.8.3 (ff8e977a158738155dc465c6a97ffaf31982d739) Maven home: /usr/local/Cellar/maven/3.8.3/libexec Java version: 17, vendor: Oracle Corporation, runtime: /Users/yongmookkim/Library/Java/JavaVirtualMachines/openjdk-17/Contents/Home Default locale: en_MY, platform encoding: UTF-8 OS name: "mac os x", version: "11.6", arch: "x86_64", family: "mac" Note For Windows or Linux, find the JAVA_HOMEenvironment variable and ensure it is pointing to the correct JDK. References * Maven error – invalid target release: 1.11 * Apache Maven Compiler Plugin * What is new in Java 17 Read: Maven error – invalid target release: 17 on Mkyong.com.

Top 3 Books to Learn Hibernate for Java Developers in 2021 - Best of Lot Hello guys, if you want to learn Hibernate and looki
Top 3 Books to Learn Hibernate for Java Developers in 2021 - Best of Lot Hello guys, if you want to learn Hibernate and looking for the best Hibernate books to start with then you have come to the right place. In the past, I have shared the best Hibernate courses and... Read: http://www.java67.com/2017/02/2-best-books-to-learn-hibernate-for-Java-Developers.html

Top 6 Python Programming Courses for Beginners to Learn in 2021 - Best of Lot Hello guys, if you want to learn Python coding
Top 6 Python Programming Courses for Beginners to Learn in 2021 - Best of Lot Hello guys, if you want to learn Python coding in 2021 and looking for the best Python courses then you have come to the right place. There are a lot of resources to learn Python on the web,... Read: http://www.java67.com/2020/05/top-5-courses-to-learn-python-in-depth.html

GitHub keep asking for username password when git push git cloneone of my existing repo (with SSH key added in the Github), modified some files and tried to git push, and it keeps asking for username and password for git pushoperation? Terminal git push Username for 'https://github.com': Password for 'https://github.com': GitHub authentication is successful. Terminal ssh -T git@github.com Hi mkyong! You've successfully authenticated, but GitHub does not provide shell access. 1. Password authentication was removed Even if we enter the correct username and password, Github still does not allow for pushing because the password authentication was removed on August 13, 2021. Please use a personal access token instead. Terminal % git push Username for 'https://github.com': username@gmail.com Password for 'https://username@gmail.com@github.com': remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead. remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information. fatal: Authentication failed for 'https://github.com/mkyong/spring-boot/' 2. Use SSH, not HTTPS The main reason for this problem is mistakenly git clonethe HTTPS URL; we need the SSH URL to use the SSH keys. The solution is to update the .git/configfile, urlvalue to SSH instead of HTTPS. 2.1 Go to the repo directory, open the file .git/config. .git/config [core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true ignorecase = true precomposeunicode = true [remote "origin"] url = https://github.com/mkyong/spring-boot fetch = +refs/heads/*:refs/remotes/origin/* [branch "master"] remote = origin merge = refs/heads/master 2.2 Update the urlfrom HTTPS https://github.com/mkyong/spring-bootto SSH git@github.com:mkyong/spring-boot.git. Terminal [core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true ignorecase = true precomposeunicode = true [remote "origin"] url = git@github.com:mkyong/spring-boot.git fetch = +refs/heads/*:refs/remotes/origin/* [branch "master"] remote = origin merge = refs/heads/master Done, try git pushagain. References * Adding a new SSH key to your GitHub account * Token authentication requirements for Git operations Read: GitHub keep asking for username password when git push on Mkyong.com.

15 Machine Learning Interview Questions Hello guys, if you are preparing for Machine Learning interviews and looking for frequently asked Machine Learning interview questions then you have come to the right place. In this article, I am... Read: http://www.java67.com/2021/10/15-machine-learning-interview-questions.html

Top Java Blogs Weekly: Best of 43/2021 Best of Top Java Blogs, year 2021, week 43 Read: https://www.topjavablogs.com/news/bes
Top Java Blogs Weekly: Best of 43/2021 Best of Top Java Blogs, year 2021, week 43 Read: https://www.topjavablogs.com/news/best-of-43-2021

6 Best Free Online Courses to Learn Microsoft Azure Cloud Platform and Services in 2021 - Best of Lot Hello guys, If you want
6 Best Free Online Courses to Learn Microsoft Azure Cloud Platform and Services in 2021 - Best of Lot Hello guys,  If you want to learn Microsoft Azure concepts and services and look for free online training courses and classes, you have come to the right place. In the past, I have shared both free... Read: http://www.java67.com/2020/07/5-free-courses-to-learn-microsoft-azure-cloud.html

100% загрузка CPU: моя вина? История бага JDK и связанной с ним ошибки разработки, приведшей к нештатной 100%-загрузке CPU. Ч
100% загрузка CPU: моя вина? История бага JDK и связанной с ним ошибки разработки, приведшей к нештатной 100%-загрузке CPU. Что пошло не так, что можно было сделать лучше, и кто, в конце концов, оказался виноват? Читать: https://habr.com/ru/post/582978/?utm_campaign=582978

How to Pass Spring Professional 5.0 Certification (VMware EDU-1202) in 2021 Hello guys, if one of your new year goals is to p
How to Pass Spring Professional 5.0 Certification (VMware EDU-1202) in 2021 Hello guys, if one of your new year goals is to pass the Spring Developer Certification this year and wondering where to start then you have come to the right place. In this, article, I'll tell... Read: http://www.java67.com/2019/06/core-spring-professional-50-topics-guide-java-developers.html

Top 10 Pluralsight courses to Learn JavaScript in Depth [2021] - Best of Lot Hello guys, if you are learning JavaScript and l
Top 10 Pluralsight courses to Learn JavaScript in Depth [2021] - Best of Lot Hello guys, if you are learning JavaScript and looking for the best JavaScript courses on Pluralsight, then you have come to the right place. In the past, I have shared the best JavaScript courses.... Read: http://www.java67.com/2020/08/top-10-pluralsight-courses-to-learn-JavaScript.html

What is Property Source in Spring Framework? @PropertySource Annotation Example Tutorial Hello Java developers, if you are wo
What is Property Source in Spring Framework? @PropertySource Annotation Example Tutorial Hello Java developers, if you are wondering What is property source in Spring Framework and how to use @PropertySource annotation then you have come to the right place. Earlier, I have shared the... Read: http://www.java67.com/2021/10/what-is-property-source-in-spring.html

Неистовые потуги или как поиграть на midi-клавиатуре в стиле linux-way Относительно короткая история о том как я хотел поигра
Неистовые потуги или как поиграть на midi-клавиатуре в стиле linux-way Относительно короткая история о том как я хотел поиграть на midi-клавиатуре, но не совладал с аудиоподсистемами линуха... Читать: https://habr.com/ru/post/583624/?utm_campaign=583624

5 Free Online Courses for AWS Solution Architect Professional Exam in 2021 - Best of Lot Hello folks, if you are preparing fo
5 Free Online Courses for AWS Solution Architect Professional Exam in 2021 - Best of Lot Hello folks, if you are preparing for the AWS Certified Solution Architect Professional exam and looking for some free online courses then you have come to the right place. In the past, I have shared... Read: http://www.java67.com/2020/10/5-free-courses-for-aws-solution-architect-professional-exam.html

Top 5 Online courses to learn Adobe Premiere Pro + After Effects for Video Editing in 2021 - Best of Lot If you want to learn
Top 5 Online courses to learn Adobe Premiere Pro + After Effects for Video Editing in 2021 - Best of Lot If you want to learn Video Editing with Adobe Premiere and After skills, two of the most popular tools for one of the most in-demand and necessary skills for digital marketing, and looking for the... Read: http://www.java67.com/2021/03/best-video-editing-courses-for-adobe-premiere.html