spring-dev-tools does not reloading changes in project, Intellij idea - spring-boot-devtools

Maven dependency spring-boot-devtools does not reloading changes in a project automatically.
I have solved this problem by changing parameters of "running configuration".
Go to edit configuration->
In the Spring boot section you will see -
Running Application Update Polices - options
change - "On 'Update' action - to -> Update trigger file
and - "On frame deactivation - to -> Update classes and resources.
Apply changes and press OK.

I have solved this problem by changing parameters of "running configuration".
Go to edit configuration-> In the Spring boot section you will see -
Running Application Update Polices - options
change - "On 'Update' action - to -> Update trigger file and - "On frame deactivation - to -> Update classes and resources.
Apply changes and press OK.

The problem has been fixed for me after following the below steps.
Please go to the Top Right Corner of your "IntelliJ IDE" and then click on the ellipsis symbol (three vertical dots)->choose "Configure Edit Tabs"
Expand "Build, Execution and Deployment" -> Compiler-> Check the option "Build Project Automatically"
Click on "Advanced Settings" -> Select the Check the option under Compiler
-> "Allow auto-make to start even if developed application is currently running"
Please note that I'm using the "IntelliJ IDEA 2022.2" version.
Hope this helps!

Related

React dev tools - Deactivate "break on warnings"

While developing with create-react-app, my browser enters debugger mode on warnings:
It breaks on the source code of react-dev-tools:
// --- Welcome to debugging with React DevTools ---
// This debugger statement means that you've enabled the "break on warnings" feature.
// Use the browser's Call Stack panel to step out of this override function-
// to where the original warning or error was logged.
How can I deactivate this behavior?
Go to Chrome Devtools → in the Chrome console, go to Component → Click on Settings → unset Break on Warning. Do the same in Profiler → Settings → unset Break on warning.
#cadoman pointed check and then uncheck to make work for sure.
P.S: Image from https://github.com/facebook/react/issues/19308#issuecomment-656669792
Based on pull request DevTools: Make break-on-warn off by default #19309 it seems it's a bug.
The Break On Warnings box was unchecked for me and it still would break. Removing and readding the extension to force an update fixed it for me.
I don't know of another way to force Chrome to update an extension outside of its regular schedule.
Go to your ReactDev tools in the tab Debugging and disable "Break on Warning".
I think this new behavior started today with this new PR: https://github.com/facebook/react/pull/19048
Chrome has a "BlackBox script" feature which is useful in this case.
Go to Chrome Developer tools -> source tab
Select "react_developer_tools.js" from the left pane
Right-click file and select "Blackbox script"
It's a known issue. A workaround is posted on GitHub: Bug: Unexpected debugger statement in DevTools (solved) #19308
The issue is due to a recent release. A Workaround proposed by the React team is:
Go to Chrome Developer Tools
Click on the Components Tab (React Developer Tools Extension)
Click on the Settings icon (located next to the component search box)
Once modal opens select the Debugging tab
Finally, double click on the Break on Warnings checkbox (check and unchecked)
Make sure at last the Break on Warnings checkbox is unchecked.
Reference: Issue link

Oracle ADF - Redirect link is not working

I am developing a simple application using ADF comes with basic CRUD operations (create, read, update, delete). In this case, as you can see, I have dragged a link to the 1st column which is highlighted in yellow.
So whenever I deploy it and click that, it is supposed to redirect me to the Edit page where client will allow to make commit:
I did make sure the Action of link is associated with the Edit page (as highlighted in yellow above). However, the link wouldn't redirect me anywhere, no response.This is the unbounded task flow:
Okay so I have found out the solution. Due to the default setting, the application will be deployed on IE and this message will prompt out. As you can see, the message is mentioning about browser's compatibility. My IE is version 11.6, I'm not sure what's the issue here since my IE is kinda latest version but this message still pops out and affects the redirect link from working. However, simply copy the application URL to Google Chrome and run should fix this issue. Hope this helps in future.
If the two pages in the Unbounded Task Flow, then Add WildCard Control Flow Rule
and connect the two pages with the WildCard.
Or you can use the Popup instead of opening a new page for edit

Drupal 7 - Newly added custom page--*.tpl refuses to render

I am working with Drupal 7 and need to create some alternate page tpl's so that I can have pages full width as well as a page with one right sidebar. I have read the documentation and scoured the net and at this point am totally stumped.
Step 1: I created a new content type called test and made it a basic page.
Step 2: I went to the template.php file and added the following code for the pre_process page function:
if (isset($vars['node'])) {
$vars['theme_hook_suggestions'][] = 'page__'. $vars['node']->type;
}
Step 3: I created a new page named page--test.tpl.php
Step 4: In admin > configuration > I cleared the site cache
Step 5: Epic failure... the newly created page does not render and the page.tpl.php is still displaying. I tried different browsers & cleared cache to no avail. I don't know what I did wrong as my procedure seems to follow the correct steps that I have studied.
A search here landed me at custom page-xxxx.tpl.php doesnt works but the suggestion there is to implement the same preprocess code that I have already installed.
I found some great information at https://drupal.stackexchange.com/questions/36054/how-to-have-a-another-page-tpl-php-file-in-drupal-with-different-regions-and-blo which enabled me to solve this issue.
The solution:
Instead of naming your custom page page--yourcustompagename.tpl.php use a format like this: page--node--23.tpl.php If you are unsure of the node number of your custom page navigate to the content section and hover your mouse over the edit option for your custom created basic page and Drupal will display the node number for you.
As mentioned in one comment you will also need to clear your cache by clicking the clear cache button in Configuration > Performance > Clear Cache. You should also clear the theme registry as mentioned in a comment above. A helpful tool I found for clearing the theme registry is the Magic Module which you can find at https://www.drupal.org/project/magic After you install this module go to Appearance > (Your Active Theme) Settings > Development Enhancements and check the box for "Rebuild Theme Registry on Reload"

How to update aptana 3.3.1?

I have standalone version of aptana studio (3.3.1) Since then I cannot update. Before it was always automatic. I can see that 3.4.0 version is out.
How to force update?
go to the help menu and select check for updates
failing that follow the steps listed at http://d1iwq2e2xrohf.cloudfront.net/tools/studio/plugin/update/studio3-rcp/3.4.0.201304151603/index.html
Update Aptana Studio
From the Help menu, select Install New Software... to open an Install
pop-up window.
In the Work with: text box of the Install window, type
the URL http://d1iwq2e2xrohf.cloudfront.net/tools/studio/plugin/update/studio3-rcp/3.4.0.201304151603/ for the update site, and hit the Enter key.
Close the Install window.
From the Help menu, select Check for Updates.
In the new window, click
the Next button and then click the Next button again.
Choose the
option to accept the terms of the license agreement, and click the
Finish button.

How do I get Groovy hotswap in intellij to work?

I'm using Groovy and Google App Engine. I'm trying out Intellij, but I can't figure out how to get hotswap to work for changes to Groovy classes. It works for me in Eclipse. Is there something special I have to do for it to work in Intellij?
In settings (CTRL + ALT + S).
Navigate to Build, Execution, Deployment -> Debugger -> HotSwap.
In here make sure that Enable hot-swap agent for Groovy code and Reload classes in background are checked and that either Always or Ask are selected for Reload classes after compilation.
You need to run your app in debug mode and you need to make (CTRL + F9, or Build -> Make Project) after you've done any changes.
You should see a green text bubble pop up if your classes were reloaded and a red one if they couldn't be reloaded for some reason.
To configure reloading behavior:
On the main menu, choose File | Settings , and then expand the
Debugger node.
Open HotSwap page.
Click one of the radio buttons in the group Reload classes after compilation. You can opt to always reload classes, reload after
confirmation, or never do it.
Also check the Enable hot-swap agent for Groovy code option in
File -> Settings -> Debugger -> Groovy.

Resources