Skip to content

resolveEnvironment Issue #1

@milindbangar79

Description

@milindbangar79

Hi,

I am using the following code within a POJO:

@Inject @Property(resolveEnvironment = true) private String abc;

I have created an environment variable of the same name, but always get an exception while Injecting the property and assigning the value.

Queries:

  1. Is the syntax correct as mentioned above?
  2. The code is deployed to JBOSS as WAR and have included the dependent JAR . Is it correct?

Kindly help.

Thanks
Milind

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions