Questions tagged [sts]

194 questions
0
votes
2 answers

org.hibernate.id.IdentifierGenerationException: ids for this class must be manually assigned before calling save(): com.robicciportal.entity.Dnd

i am getting above mention error in my spring boot application. I don't want to make my primary key as auto generated values because my primary key is string type and mobile numbers of customers. this is my controller package…
0
votes
1 answer

Getting errors packaging a working Spring Tool Suit app

I wrote a Spring Boot app on Spring Tools Suite which is working fine on STS. It is an example from Spring In Action Fifth Edition (by the way, book's code is plenty of bugs). But when I tried to pack it on a jar file, Maven suddenly start to throw…
lm2a
  • 835
  • 1
  • 10
  • 19
0
votes
2 answers

Issue with new file wizards in Spring Tool Suite 4.10.0

When I try to add a new HTML or JSP file to my Spring Boot project, I can't see wizards for these file types. They do not appear in the wizard list. Is it a version related bug or do I have to add these wizards manually? My current STS version:…
Hoakland
  • 27
  • 8
0
votes
0 answers

Spring Tool Suite How To Exit Debug Perspective

Hello I have stupidly allowed debug perspective for my gradle project. However, now when ever I boot up my project it will load into debug perspective for some reason. The debug perspective is being much slower and I need to revert back. This is my…
0
votes
1 answer

AWS STS Endpoints works only for one subnet of one zone. STS connection does not work in another zone

My environments are all private. I have a created an STS endpoint in ca-central-1. It has 2 subnets, one for ca-cental-1a and another in ca-central-1b. For some odd reason for both my environments that have the same sts endpoints settings, the STS…
0
votes
2 answers

Maven dependencies required in pom.xml for downloading a document from alfresco

In my java maven project there is a requirement to download documents from Alfresco. I'm not able to figure out which are the dependencies to be added in the pom file for the same. Hope some of you can help. Thanks in advance... Adding the maven…
seaker889
  • 1
  • 1
0
votes
2 answers

What is the use of Session Token in Security Token Service (STS)

In response to STS requests such as 'AssumeRole' etc, the STS services returns temporary security credentials that consist of . While 'access-key' is used to identify a user, the secret-key is used to…
Prasad B
  • 27
  • 6
0
votes
2 answers

Not able to read resource files from src/test/resources in STS

I created folder src/test/resources/ in root project directory, and inside this I added a file in folder jsons as jsons/server_request.json. Now I am trying to read this file by calling a the static function in CommonTestUtilityclass given…
tusharRawat
  • 719
  • 10
  • 24
0
votes
0 answers

Spring tool suite is not showing create method what is the reason

I have a method in StudentController called addStudent(student); but i have seen that when i write like this and pointing mouse on the top of addStudent(student); sts used to ask like this create addStudent(student); in StudentService. but now i am…
jibin james
  • 19
  • 1
  • 7
0
votes
2 answers

To find out the names of the filed that contain any annotation

@Entity class Student{ @NotNull private int sid; @NotNull private String sname; private int age; } i have to show the name of the field that contain @NotNull annotation I created a function public boolean hasNotNull() { return…
Bhumika
  • 45
  • 2
  • 10
0
votes
1 answer

How to Disable permissions for AWS temporary security credentials in java?

I'm trying to remove access to temporarily generated session tokens using STS. But received following error: Exception in thread "main" com.amazonaws.services.securitytoken.model.MalformedPolicyDocumentException: Policy document should not specify a…
0
votes
1 answer

Authenticating with AWS .NET SDK for Amazon Chime

I'm trying to create meeting using Chime SDK and I'm passing accessKey and accessKeyId to authenticate. However, the request fails with error, 'Invalid session token'. When I pass session token generated using AWS CLI it works fine. I want to…
0
votes
1 answer

WhiteLabel Error page with no error message in sts console

I am in the first steps of making a basic app following the book Spring in action, fifth edition. But right now I am seeing the following error message in browser, and no logs are printed in console. Below are the code: Controller…
Abhinash Jha
  • 165
  • 1
  • 3
  • 17
0
votes
1 answer

Decoration Calculation Error on Eclipse (STS)

When I try to open an xml file on STS I get an error. The contents are as follows: An internal error occurred during: "Decoration Calculation". org/springframework/tooling/boot/ls/xml/XMLRootElementContentDescriber2$QualifiedElement When I looked…
Cwpark
  • 39
  • 1
  • 5
0
votes
1 answer

How to config Ceph rgw sts key

I'm going to use Ceph(rook-ceph V15.2.5)STS service to create temp credentials to access ceph bucket resources by Java, and followed the example steps in: https://docs.ceph.com/en/latest/radosgw/STS/. When calling the assumeRole to get credentials,…
Dylan
  • 1
1 2 3
12
13