in Education by
I am having the following problem: I have an Enum that was originally declared with 5 elements. public enum GraphFormat { DOT, GML, PUML, JSON, NEO4J, TEXT { @Override public String getFileExtension() { return ".txt"; } }; Now I need to add an additional element to it (NEO4J). When I run my code or try to debug it I am getting an exception because the value can't be found in the enum. I am using IntelliJ as my IDE, and have cleaned the cache, force a rebuild, etc.. and nothing happens. When I look at the .class file created on my target folder, it also has the new element. Any ideas on what could be causing this issue ? JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
I found my problem and want to share here what was causing it. My code was actually for a Maven plug-in which I was pointing to another project of mine to run it as a goal. However the pom.xml of my target test project was pointing to the original version of the plug-in instead of the one I am working on, and that version of course is outdated and does not include the new value. Thank you.

Related questions

0 votes
    How to set background color of PsiFileNode or its child? I know how to change PsiFileNode fileName ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 26, 2022 in Education by JackTerrance
0 votes
    I have an Enum package com.javarnd.bbms.enums; public enum BloodTypeEnum { A_PLUS(1, "A+"), ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 22, 2022 in Education by JackTerrance
0 votes
    What other elements may be added to silicon to make electrons available for conduction of an electric current? Select the correct answer from above options...
asked Jan 5, 2022 in Education by JackTerrance
0 votes
    I am facing an wiered problem while adding new Page in the wordpress. Steps: Create a new page with ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 1, 2022 in Education by JackTerrance
0 votes
    What are the new features added to Query Processing in SQL Server 2019?...
asked Nov 30, 2020 in Technology by JackTerrance
0 votes
    Which component is used to compile, debug and execute java program? (a) JVM (b) JDK (c) JIT ( ... java programming questions and answers pdf, java interview questions for beginners...
asked Oct 26, 2021 in Education by JackTerrance
0 votes
    The desperados held up in a grotto in New Mexico during the escape. Grotto means… Large cave. Small cavern. Hotel. Motel....
asked Jan 2, 2021 in Education by JackTerrance
0 votes
    Which version of java added Flushable interface? (a) java SE 7 (b) java SE 8 (c) java SE 6 (d) java ... Management, JSP & API of Java Select the correct answer from above options...
asked Feb 16, 2022 in Education by JackTerrance
0 votes
    toRadian() and toDegree() methods were added by which version of Java? (a) Java 1.0 (b) Java ... java programming questions and answers pdf, java interview questions for beginners...
asked Oct 25, 2021 in Education by JackTerrance
0 votes
    Which version of java added Flushable interface? (a) java SE 7 (b) java SE 8 (c) java SE 6 ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
    A gitlab-runner configuration script .gitlab-ci.yml, for execution in the Powershell: windows: tags: - ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 17, 2022 in Education by JackTerrance
0 votes
    I have a registry value that I set to 1 during installation. What I want to achieve is that ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 18, 2022 in Education by JackTerrance
0 votes
    I am using using wix RadioButton to accept values, either "Yes" or "No". Based on the user ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 13, 2022 in Education by JackTerrance
0 votes
    JavaScript _________ when there is an indefinite or an infinite value during an arithmetic computation. (a) ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
...