Questions tagged as 'annotation'

1
answer

Symfony does not take me well the ROUTE

I'm starting a project in symfony 4 and I have a problem with the routes. I am using annotations This is my IndexController : <?php namespace App\Controller; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; use...
asked by 19.10.2018 / 19:20
1
answer

java properties / xml as constant

I try to collect values from a .properties to use it in an annotation, but it is not possible to do it with ResourceBundle since the annotations work with constants and the result of this, it is not. I tried to change the properties to .xml by c...
asked by 04.09.2018 / 13:01
0
answers

Datepicker Region dd / mm / yyyy MVC [closed]

Good estimates: I have a theme with the validation of the Date of Birth, I have the datepicker set to show the date in dd / mm / yyyy format But when I enter the Input, the validation of the Data Annotations jumps and validates me as mm / dd...
asked by 20.10.2017 / 20:45
2
answers

Reflection vs. MapListString etc. etc

Random question: I have a JSON of a lot of kilobytes, already almost reaching the mega. I'm about to make it Java-istic and I'm in a list map: Map<List<Map<List, OMG>>>> data Or a full-fledged class: Depar...
asked by 25.04.2017 / 23:42
1
answer

InnerClass message annotations are missing corresponding EnclosingMember annotations in Android Studio

By integrating the library com.inmobi.monetization:inmobi-ads at the time of doing build I receive the error    InnerClass annotations are missing corresponding EnclosingMember   annotations. Such InnerClass annotations are igno...
asked by 22.07.2018 / 21:41
1
answer

Can the yml file paths be combined with annotations in symfony?

I am working on a project that has been started, and at the time it was started it was advised and a configuration file .yml was used for the routes, however nowadays it is easier, using the annotations My question is if there i...
asked by 13.03.2018 / 17:13
1
answer

Problem with annotations @BeforeTest @AfterTest in automated testing

I am learning to use Selenium with Eclipse for the automation of tests. When I try to run annotations, I get the error:    the annotation "X" is disallowed for this location. As I am starting with the theme, I am leaving something importa...
asked by 26.10.2017 / 10:02