Experiencing issues with Spring Tool STS 3.6.2 freezing when working on JavaScript files

Currently, I am an EE developer learning the ropes with the Spring platform. Lately, I have been experimenting with using Restful services as controllers in my web project, alongside AngularJS on the frontend. System Environment: Windows 8.1, Intel i5, 8GB RAM For my Maven project, I utilize STS 3.6.2. While I can work on Java files without any issues, any small action such as editing, adding a space, scrolling up or down causes IDE to consume excessive memory and CPU resources. This makes it nearly impossible to continue working after a few minutes, even when the server or grunt watch is not functioning. I have tried various solutions found on the internet, including this resource. There is ample free storage (32 GB) on the disk where the sts_bundle folder resides.

Despite turning off validation, auto build, etc., there has been no improvement. Moreover, some JavaScript files (especially in the placeholders folder) under the vendor directory are showing build errors at times, for reasons unknown since they are vendor JS libraries untouched until a Maven update.

Attached is a screenshot. Also provided is today's log file located under .metadata/.log:

(Log file content provided)

My latest modified STS.ini file:

(STS.ini content provided)

POM.xml file contents:

(POM.xml content provided)

Any assistance would be greatly appreciated. Thank you, regards

Answer №1

After some trial and error, I discovered the solution was actually related to the build configuration. By excluding the js folder from the path, the problem was finally resolved. Thanks to this helpful link => js-validation-disabled

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

The importance of constructors and prototypes in JavaScript

I came across a code snippet that involves defining a constructor like this: var Resource = function(data) { angular.extend(this, data); } Afterward, a method is defined for it as well. Resource.query = function(url) { console.log(url); } I&apo ...

Determine the frequency of a specific string within an array by utilizing Lodash

I have retrieved an array of tags for blog posts from a database. Here is an example of the query result: ["apple","banana", "apple", "orange","grapes","mango","banana"]; I am looking to determine how many times each string is repeated within the array ...

How can the label value be updated in a material ui slider component?

code snippet: https://codesandbox.io/s/runtime-worker-kxse3?file=/src/App.js Can anyone help me ensure that the labels in the bubble display the same values as the text (3, 5, 7, 10)? ...

Creating dynamic rows in React.js using Bootstrap for rendering

I am working with bootstrap and my goal is to display 4 columns in a row. The challenge is that I don't know beforehand how many columns there will be, so the layout should dynamically adjust for any number of columns. Additionally, the first column m ...

Enhancing the tooltip inner content in Bootstrap with a description:

Can you help me troubleshoot the code below? I am trying to add a description to numbers in my tooltip, but it doesn't seem to be working. Here is the HTML: <input id="contract-length" class="slider slider-step-2 slider-contract-length" ...

ajaxform is not providing the correct response

There is a form below that logs into Instagram based on the response it receives. If the login is successful (returns "ok"), then it shows success, otherwise it should display an error state. However, in my case, it always returns a null state for some un ...

Tips on retrieving an object in a JavaScript function through an HTML event

The js function code is as follows: //Assigning the index of theater array to a variable $scope.setTheaterValue = function(name) { var index = $scope.path.map(function(s){return s.name}).indexOf(name); $scope.path = $scope.path[index]. ...

Is there a way to identify the moment when a dynamically added element has finished loading?

Edit: I've included Handlebar template loading in my code now. I've been attempting to identify when an element that has been dynamically added (from a handlebars template) finishes loading, but unfortunately, the event doesn't seem to trig ...

Completely digital Mongoose schema that resides solely in memory and is not saved permanently

Having trouble locating any documentation or references on this topic, which could suggest that I am approaching it incorrectly. Is there a way to utilize a Mongoose schema that is completely virtual, meaning it is not stored in the database? I have vari ...

Here's a guide on how to package and send values in ReactJs bundles

I'm currently involved in a ReactJs project that does not rely on any API for data management. For bundling the React APP, we are using Webpack in the project. The challenge now is to make the React APP usable on any website by simply including the ...

Animating with jQuery to a specific offset or position

Currently, I am utilizing jQuery animate to modify the location of an element: $('#item').animate({'top' : '-50'}, 0); The goal is to set the position without any animations. I experimented with both offset and position, but ...

JavaScript: Constructing an array composed of multiple arrays

I am attempting to create an array containing four arrays. Each of these four arrays will contain three numbers, with two of them being randomly selected from a set of numbers. Although I am not encountering any errors when running the code below, I am al ...

The issue with jqBootstrapValidation is that it fails to display customized data-validation-required-message

I'm attempting to implement jqBootstrapValidation, but I keep seeing the default message instead of my custom one. Could it be that I forgot to include a <div> here? <div class="control-group"> <div class="controls"> <div c ...

Create a PDF document with pdfkit and stream it to the browser in a Node.js Express application

I am currently using pdfkit to create a PDF file and I would like to send this PDF directly to the browser. However, I am encountering an error message stating "TypeError: listener must be a function", Additionally, the file is being generated in m ...

The unique format created by tinyMce is not being displayed

I am trying to customize the style format of my tinyMCE, but I am having trouble getting it to show up. Can anyone suggest what might be going wrong? Where should I place the button "Formats" so that I can choose a specific style? tinyMCE.init({ mod ...

What is causing the undefined value to appear?

I'm puzzled as to why the term "element" is coming up as undefined. Even after running debug, I couldn't pinpoint the cause of this issue. Does anyone have any insights on what might be going wrong here? Below is the snippet of my code: const ...

Clear Vuex state upon page refresh

In my mutation, I am updating the state as follows: try { const response = await axios.put('http://localhost:3000/api/mobile/v3/expense/vouchers/form_refresh', sendForm, { headers: { Accept: 'application/json', 'C ...

Why does Googlebot need to retrieve HTML from JSON-exclusive URLs?

Link to a page like this: The following code is found: $.getJSON("/newsfeeds/61?order=activity&amp;type=discussion", function(response) { $(".discussion-post-stream").replaceWith($(response.newsfeed_html)); $(".stream-posts").before($("<div cl ...

Node.js encountered a TypeError [ERR_INVALID_ARG_TYPE] stating that the "chunk" argument should either be a string or a Buffer instance

I am currently working on a web server application using Node.js version 21.7.1. One of the files being served is "jquery/jquery-2.2.1.mn.js". When I inspect this file in the console, I encounter the following message: L392 [strFilename] typeof:string valu ...

The integration of Node.js and express.js from distinct JavaScript files

How can I utilize express.js to render html in two separate files? file1.js file2.js The code inside file1.js is as follows: var express = require('express'); var app = express(); app.get('/foo/bar1', (req, res) => res.json([&apo ...