IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Spring Boot Java Discussion :

problème d'erreur mvn package


Sujet :

Spring Boot Java

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Membre éprouvé

    Profil pro
    Inscrit en
    Août 2008
    Messages
    1 222
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Août 2008
    Messages : 1 222
    Par défaut problème d'erreur mvn package
    Bonjour,

    j'ai un souci de package de maven.
    lorsque j'ai cette config tout fonctionne:

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
     
    spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
    spring.jpa.hibernate.ddl-auto=create
    spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5Dialect
    mais lorsque je demande un update il m'affiche cette erreur:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
     
    spring.jpa.hibernate.ddl-auto=update
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
     
    [INFO]
    [INFO] Results:
    [INFO]
    [ERROR] Errors: 
    [ERROR]   DemoApplicationTests.contextLoads » IllegalState Failed to load ApplicationCon...
    [INFO]
    [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
    [INFO]
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time:  12.883 s
    [INFO] Finished at: 2019-07-14T09:39:22+02:00
    [INFO] ------------------------------------------------------------------------
    [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on project sklt: There are test failures.
    [ERROR]
    [ERROR] Please refer to C:\Users\aker\Documents\kod_backend\target\surefire-reports for the individual test results.
    [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
    [ERROR] -> [Help 1]
    [ERROR]
    pourquoi cela génère cette erreur ? si vous avez une idée,
    merci de vos réponses

  2. #2
    Rédacteur/Modérateur
    Avatar de andry.aime
    Homme Profil pro
    Inscrit en
    Septembre 2007
    Messages
    8 391
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Ile Maurice

    Informations forums :
    Inscription : Septembre 2007
    Messages : 8 391
    Par défaut
    Bonjour,

    Please refer to C:\Users\aker\Documents\kod_backend\target\surefire-reports for the individual test results.
    Peux-tu nous montrer les erreurs qui s'y trouve?

    A+.

  3. #3
    Membre éprouvé

    Profil pro
    Inscrit en
    Août 2008
    Messages
    1 222
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Août 2008
    Messages : 1 222
    Par défaut
    merci de la réponse ,

    alors j'ai changé de dossier :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    [ERROR] Please refer to C:\Users\aker\Documents\televerser_front_back\upload_bk\target\surefire-reports for the individual test results.
    voici ce qu'il y a dedans:

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    -------------------------------------------------------------------------------
    Test set: kod.sklt.DemoApplicationTests
    -------------------------------------------------------------------------------
    Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 9.717 s <<< FAILURE! - in ohkod.sklt.DemoApplicationTests
    contextLoads  Time elapsed: 0.001 s  <<< ERROR!
    java.lang.IllegalStateException: Failed to load ApplicationContext
    Caused by: java.lang.IllegalStateException: Failed to execute CommandLineRunner
    Caused by: org.springframework.dao.IncorrectResultSizeDataAccessException: query did not return a unique result: 5; nested exception is javax.persistence.NonUniqueResultException: query did not return a unique result: 5
    Caused by: javax.persistence.NonUniqueResultException: query did not return a unique result: 5
    et voici un autre fichier:

    Code XML : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    299
    300
    301
    302
    303
    304
    305
    306
    307
    308
    309
    310
    311
    312
    313
    314
    315
    316
    317
    318
    319
    320
    321
    322
    323
    324
    325
    326
    327
    328
    329
    330
    331
    332
    333
    334
    335
    336
    337
    338
    339
    340
    341
    342
    343
    344
    345
    346
    347
    348
    349
    350
    351
    352
    353
    354
    355
    356
    357
    358
    359
    360
    361
    362
    363
    364
    365
    366
    367
    368
    369
    370
    371
    372
    373
    374
    375
    376
    377
    378
    379
    380
    381
    382
    383
    384
    385
    386
    387
    388
    389
    390
    391
    392
    393
    394
    395
    396
    397
    398
    399
    400
    401
    402
    403
    404
    405
    406
    407
    408
    409
    410
    411
    412
    413
    414
    415
    416
    417
    418
    419
    420
    421
    422
    423
    424
    425
    426
    427
    428
    429
    430
    431
    432
    433
    434
    <?xml version="1.0" encoding="UTF-8"?>
    <testsuite xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://maven.apache.org/surefire/maven-surefire-plugin/xsd/surefire-test-report.xsd" name="kod.sklt.DemoApplicationTests" time="9.717" tests="1" errors="1" skipped="0" failures="0">
      <properties>
        <property name="sun.desktop" value="windows"/>
        <property name="awt.toolkit" value="sun.awt.windows.WToolkit"/>
        <property name="file.encoding.pkg" value="sun.io"/>
        <property name="java.specification.version" value="1.8"/>
        <property name="sun.cpu.isalist" value="amd64"/>
        <property name="sun.jnu.encoding" value="Cp1252"/>
        <property name="java.class.path" value="C:\Users\aker\Documents\televerser_front_back\upload_bk\target\test-classes;C:\Users\aker\Documents\televerser_front_back\upload_bk\target\classes;C:\Users\aker\.m2\repository\mysql\mysql-connector-java\8.0.15\mysql-connector-java-8.0.15.jar;C:\Users\aker\.m2\repository\io\jsonwebtoken\jjwt\0.8.0\jjwt-0.8.0.jar;C:\Users\aker\.m2\repository\com\fasterxml\jackson\core\jackson-databind\2.9.8\jackson-databind-2.9.8.jar;C:\Users\aker\.m2\repository\com\fasterxml\jackson\core\jackson-annotations\2.9.0\jackson-annotations-2.9.0.jar;C:\Users\aker\.m2\repository\com\fasterxml\jackson\core\jackson-core\2.9.8\jackson-core-2.9.8.jar;C:\Users\aker\.m2\repository\org\springframework\boot\spring-boot-starter-tomcat\2.2.0.M3\spring-boot-starter-tomcat-2.2.0.M3.jar;C:\Users\aker\.m2\repository\jakarta\annotation\jakarta.annotation-api\1.3.4\jakarta.annotation-api-1.3.4.jar;C:\Users\aker\.m2\repository\org\apache\tomcat\embed\tomcat-embed-core\9.0.19\tomcat-embed-core-9.0.19.jar;C:\Users\aker\.m2\repository\org\apache\tomcat\embed\tomcat-embed-el\9.0.19\tomcat-embed-el-9.0.19.jar;C:\Users\aker\.m2\repository\org\apache\tomcat\embed\tomcat-embed-websocket\9.0.19\tomcat-embed-websocket-9.0.19.jar;C:\Users\aker\.m2\repository\org\springframework\boot\spring-boot-starter-security\2.2.0.M3\spring-boot-starter-security-2.2.0.M3.jar;C:\Users\aker\.m2\repository\org\springframework\boot\spring-boot-starter\2.2.0.M3\spring-boot-starter-2.2.0.M3.jar;C:\Users\aker\.m2\repository\org\springframework\boot\spring-boot-starter-logging\2.2.0.M3\spring-boot-starter-logging-2.2.0.M3.jar;C:\Users\aker\.m2\repository\ch\qos\logback\logback-classic\1.2.3\logback-classic-1.2.3.jar;C:\Users\aker\.m2\repository\ch\qos\logback\logback-core\1.2.3\logback-core-1.2.3.jar;C:\Users\aker\.m2\repository\org\apache\logging\log4j\log4j-to-slf4j\2.11.2\log4j-to-slf4j-2.11.2.jar;C:\Users\aker\.m2\repository\org\apache\logging\log4j\log4j-api\2.11.2\log4j-api-2.11.2.jar;C:\Users\aker\.m2\repository\org\slf4j\jul-to-slf4j\1.7.26\jul-to-slf4j-1.7.26.jar;C:\Users\aker\.m2\repository\org\yaml\snakeyaml\1.24\snakeyaml-1.24.jar;C:\Users\aker\.m2\repository\org\springframework\spring-aop\5.2.0.M2\spring-aop-5.2.0.M2.jar;C:\Users\aker\.m2\repository\org\springframework\spring-beans\5.2.0.M2\spring-beans-5.2.0.M2.jar;C:\Users\aker\.m2\repository\org\springframework\security\spring-security-config\5.2.0.M2\spring-security-config-5.2.0.M2.jar;C:\Users\aker\.m2\repository\org\springframework\security\spring-security-core\5.2.0.M2\spring-security-core-5.2.0.M2.jar;C:\Users\aker\.m2\repository\org\springframework\spring-context\5.2.0.M2\spring-context-5.2.0.M2.jar;C:\Users\aker\.m2\repository\org\springframework\security\spring-security-web\5.2.0.M2\spring-security-web-5.2.0.M2.jar;C:\Users\aker\.m2\repository\org\springframework\spring-expression\5.2.0.M2\spring-expression-5.2.0.M2.jar;C:\Users\aker\.m2\repository\org\springframework\boot\spring-boot-starter-data-jpa\2.2.0.M3\spring-boot-starter-data-jpa-2.2.0.M3.jar;C:\Users\aker\.m2\repository\org\springframework\boot\spring-boot-starter-aop\2.2.0.M3\spring-boot-starter-aop-2.2.0.M3.jar;C:\Users\aker\.m2\repository\org\aspectj\aspectjweaver\1.9.4\aspectjweaver-1.9.4.jar;C:\Users\aker\.m2\repository\org\springframework\boot\spring-boot-starter-jdbc\2.2.0.M3\spring-boot-starter-jdbc-2.2.0.M3.jar;C:\Users\aker\.m2\repository\com\zaxxer\HikariCP\3.3.1\HikariCP-3.3.1.jar;C:\Users\aker\.m2\repository\org\springframework\spring-jdbc\5.2.0.M2\spring-jdbc-5.2.0.M2.jar;C:\Users\aker\.m2\repository\jakarta\activation\jakarta.activation-api\1.2.1\jakarta.activation-api-1.2.1.jar;C:\Users\aker\.m2\repository\jakarta\persistence\jakarta.persistence-api\2.2.2\jakarta.persistence-api-2.2.2.jar;C:\Users\aker\.m2\repository\jakarta\transaction\jakarta.transaction-api\1.3.2\jakarta.transaction-api-1.3.2.jar;C:\Users\aker\.m2\repository\org\hibernate\hibernate-core\5.4.2.Final\hibernate-core-5.4.2.Final.jar;C:\Users\aker\.m2\repository\org\jboss\logging\jboss-logging\3.3.2.Final\jboss-logging-3.3.2.Final.jar;C:\Users\aker\.m2\repository\org\javassist\javassist\3.24.0-GA\javassist-3.24.0-GA.jar;C:\Users\aker\.m2\repository\net\bytebuddy\byte-buddy\1.9.12\byte-buddy-1.9.12.jar;C:\Users\aker\.m2\repository\antlr\antlr\2.7.7\antlr-2.7.7.jar;C:\Users\aker\.m2\repository\org\jboss\jandex\2.0.5.Final\jandex-2.0.5.Final.jar;C:\Users\aker\.m2\repository\com\fasterxml\classmate\1.5.0\classmate-1.5.0.jar;C:\Users\aker\.m2\repository\org\dom4j\dom4j\2.1.1\dom4j-2.1.1.jar;C:\Users\aker\.m2\repository\org\hibernate\common\hibernate-commons-annotations\5.1.0.Final\hibernate-commons-annotations-5.1.0.Final.jar;C:\Users\aker\.m2\repository\org\glassfish\jaxb\jaxb-runtime\2.3.2\jaxb-runtime-2.3.2.jar;C:\Users\aker\.m2\repository\org\glassfish\jaxb\txw2\2.3.2\txw2-2.3.2.jar;C:\Users\aker\.m2\repository\com\sun\istack\istack-commons-runtime\3.0.8\istack-commons-runtime-3.0.8.jar;C:\Users\aker\.m2\repository\org\jvnet\staxex\stax-ex\1.8.1\stax-ex-1.8.1.jar;C:\Users\aker\.m2\repository\com\sun\xml\fastinfoset\FastInfoset\1.2.16\FastInfoset-1.2.16.jar;C:\Users\aker\.m2\repository\org\springframework\data\spring-data-jpa\2.2.0.M4\spring-data-jpa-2.2.0.M4.jar;C:\Users\aker\.m2\repository\org\springframework\data\spring-data-commons\2.2.0.M4\spring-data-commons-2.2.0.M4.jar;C:\Users\aker\.m2\repository\org\springframework\spring-orm\5.2.0.M2\spring-orm-5.2.0.M2.jar;C:\Users\aker\.m2\repository\org\springframework\spring-tx\5.2.0.M2\spring-tx-5.2.0.M2.jar;C:\Users\aker\.m2\repository\org\slf4j\slf4j-api\1.7.26\slf4j-api-1.7.26.jar;C:\Users\aker\.m2\repository\org\springframework\spring-aspects\5.2.0.M2\spring-aspects-5.2.0.M2.jar;C:\Users\aker\.m2\repository\org\springframework\boot\spring-boot-starter-data-rest\2.2.0.M3\spring-boot-starter-data-rest-2.2.0.M3.jar;C:\Users\aker\.m2\repository\org\springframework\data\spring-data-rest-webmvc\3.2.0.M4\spring-data-rest-webmvc-3.2.0.M4.jar;C:\Users\aker\.m2\repository\org\springframework\data\spring-data-rest-core\3.2.0.M4\spring-data-rest-core-3.2.0.M4.jar;C:\Users\aker\.m2\repository\org\springframework\hateoas\spring-hateoas\1.0.0.M2\spring-hateoas-1.0.0.M2.jar;C:\Users\aker\.m2\repository\org\springframework\plugin\spring-plugin-core\2.0.0.M1\spring-plugin-core-2.0.0.M1.jar;C:\Users\aker\.m2\repository\org\atteo\evo-inflector\1.2.2\evo-inflector-1.2.2.jar;C:\Users\aker\.m2\repository\org\springframework\boot\spring-boot-starter-web\2.2.0.M3\spring-boot-starter-web-2.2.0.M3.jar;C:\Users\aker\.m2\repository\org\springframework\boot\spring-boot-starter-json\2.2.0.M3\spring-boot-starter-json-2.2.0.M3.jar;C:\Users\aker\.m2\repository\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.9.8\jackson-datatype-jdk8-2.9.8.jar;C:\Users\aker\.m2\repository\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.9.8\jackson-datatype-jsr310-2.9.8.jar;C:\Users\aker\.m2\repository\com\fasterxml\jackson\module\jackson-module-parameter-names\2.9.8\jackson-module-parameter-names-2.9.8.jar;C:\Users\aker\.m2\repository\org\springframework\boot\spring-boot-starter-validation\2.2.0.M3\spring-boot-starter-validation-2.2.0.M3.jar;C:\Users\aker\.m2\repository\jakarta\validation\jakarta.validation-api\2.0.1\jakarta.validation-api-2.0.1.jar;C:\Users\aker\.m2\repository\org\hibernate\validator\hibernate-validator\6.0.16.Final\hibernate-validator-6.0.16.Final.jar;C:\Users\aker\.m2\repository\org\springframework\spring-web\5.2.0.M2\spring-web-5.2.0.M2.jar;C:\Users\aker\.m2\repository\org\springframework\spring-webmvc\5.2.0.M2\spring-webmvc-5.2.0.M2.jar;C:\Users\aker\.m2\repository\org\springframework\boot\spring-boot-devtools\2.2.0.M3\spring-boot-devtools-2.2.0.M3.jar;C:\Users\aker\.m2\repository\org\springframework\boot\spring-boot\2.2.0.M3\spring-boot-2.2.0.M3.jar;C:\Users\aker\.m2\repository\org\springframework\boot\spring-boot-autoconfigure\2.2.0.M3\spring-boot-autoconfigure-2.2.0.M3.jar;C:\Users\aker\.m2\repository\org\projectlombok\lombok\1.18.8\lombok-1.18.8.jar;C:\Users\aker\.m2\repository\org\springframework\boot\spring-boot-starter-test\2.2.0.M3\spring-boot-starter-test-2.2.0.M3.jar;C:\Users\aker\.m2\repository\org\springframework\boot\spring-boot-test\2.2.0.M3\spring-boot-test-2.2.0.M3.jar;C:\Users\aker\.m2\repository\org\springframework\boot\spring-boot-test-autoconfigure\2.2.0.M3\spring-boot-test-autoconfigure-2.2.0.M3.jar;C:\Users\aker\.m2\repository\com\jayway\jsonpath\json-path\2.4.0\json-path-2.4.0.jar;C:\Users\aker\.m2\repository\net\minidev\json-smart\2.3\json-smart-2.3.jar;C:\Users\aker\.m2\repository\net\minidev\accessors-smart\1.2\accessors-smart-1.2.jar;C:\Users\aker\.m2\repository\org\ow2\asm\asm\5.0.4\asm-5.0.4.jar;C:\Users\aker\.m2\repository\jakarta\xml\bind\jakarta.xml.bind-api\2.3.2\jakarta.xml.bind-api-2.3.2.jar;C:\Users\aker\.m2\repository\org\junit\jupiter\junit-jupiter\5.4.2\junit-jupiter-5.4.2.jar;C:\Users\aker\.m2\repository\org\junit\jupiter\junit-jupiter-api\5.4.2\junit-jupiter-api-5.4.2.jar;C:\Users\aker\.m2\repository\org\apiguardian\apiguardian-api\1.0.0\apiguardian-api-1.0.0.jar;C:\Users\aker\.m2\repository\org\opentest4j\opentest4j\1.1.1\opentest4j-1.1.1.jar;C:\Users\aker\.m2\repository\org\junit\platform\junit-platform-commons\1.4.2\junit-platform-commons-1.4.2.jar;C:\Users\aker\.m2\repository\org\junit\jupiter\junit-jupiter-params\5.4.2\junit-jupiter-params-5.4.2.jar;C:\Users\aker\.m2\repository\org\junit\jupiter\junit-jupiter-engine\5.4.2\junit-jupiter-engine-5.4.2.jar;C:\Users\aker\.m2\repository\org\junit\platform\junit-platform-engine\1.4.2\junit-platform-engine-1.4.2.jar;C:\Users\aker\.m2\repository\org\mockito\mockito-junit-jupiter\2.27.0\mockito-junit-jupiter-2.27.0.jar;C:\Users\aker\.m2\repository\org\assertj\assertj-core\3.12.2\assertj-core-3.12.2.jar;C:\Users\aker\.m2\repository\org\hamcrest\hamcrest-core\1.3\hamcrest-core-1.3.jar;C:\Users\aker\.m2\repository\org\hamcrest\hamcrest-library\1.3\hamcrest-library-1.3.jar;C:\Users\aker\.m2\repository\org\mockito\mockito-core\2.27.0\mockito-core-2.27.0.jar;C:\Users\aker\.m2\repository\net\bytebuddy\byte-buddy-agent\1.9.12\byte-buddy-agent-1.9.12.jar;C:\Users\aker\.m2\repository\org\objenesis\objenesis\2.6\objenesis-2.6.jar;C:\Users\aker\.m2\repository\org\skyscreamer\jsonassert\1.5.0\jsonassert-1.5.0.jar;C:\Users\aker\.m2\repository\com\vaadin\external\google\android-json\0.0.20131108.vaadin1\android-json-0.0.20131108.vaadin1.jar;C:\Users\aker\.m2\repository\org\springframework\spring-core\5.2.0.M2\spring-core-5.2.0.M2.jar;C:\Users\aker\.m2\repository\org\springframework\spring-jcl\5.2.0.M2\spring-jcl-5.2.0.M2.jar;C:\Users\aker\.m2\repository\org\springframework\spring-test\5.2.0.M2\spring-test-5.2.0.M2.jar;C:\Users\aker\.m2\repository\org\xmlunit\xmlunit-core\2.6.2\xmlunit-core-2.6.2.jar;"/>
        <property name="java.vm.vendor" value="Oracle Corporation"/>
        <property name="sun.arch.data.model" value="64"/>
        <property name="user.variant" value=""/>
        <property name="java.vendor.url" value="http://java.oracle.com/"/>
        <property name="user.timezone" value="Europe/Paris"/>
        <property name="java.vm.specification.version" value="1.8"/>
        <property name="os.name" value="Windows 10"/>
        <property name="user.country" value="FR"/>
        <property name="sun.java.launcher" value="SUN_STANDARD"/>
        <property name="sun.boot.library.path" value="C:\Program Files\Java\jdk1.8.0_212\jre\bin"/>
        <property name="sun.java.command" value="C:\Users\aker\AppData\Local\Temp\surefire6755185911780785250\surefirebooter2282385209798995480.jar C:\Users\aker\AppData\Local\Temp\surefire6755185911780785250 2019-08-01T11-22-59_916-jvmRun1 surefire5488705234867807659tmp surefire_01392580401586574597tmp"/>
        <property name="surefire.test.class.path" value="C:\Users\aker\Documents\televerser_front_back\upload_bk\target\test-classes;C:\Users\aker\Documents\televerser_front_back\upload_bk\target\classes;C:\Users\aker\.m2\repository\mysql\mysql-connector-java\8.0.15\mysql-connector-java-8.0.15.jar;C:\Users\aker\.m2\repository\io\jsonwebtoken\jjwt\0.8.0\jjwt-0.8.0.jar;C:\Users\aker\.m2\repository\com\fasterxml\jackson\core\jackson-databind\2.9.8\jackson-databind-2.9.8.jar;C:\Users\aker\.m2\repository\com\fasterxml\jackson\core\jackson-annotations\2.9.0\jackson-annotations-2.9.0.jar;C:\Users\aker\.m2\repository\com\fasterxml\jackson\core\jackson-core\2.9.8\jackson-core-2.9.8.jar;C:\Users\aker\.m2\repository\org\springframework\boot\spring-boot-starter-tomcat\2.2.0.M3\spring-boot-starter-tomcat-2.2.0.M3.jar;C:\Users\aker\.m2\repository\jakarta\annotation\jakarta.annotation-api\1.3.4\jakarta.annotation-api-1.3.4.jar;C:\Users\aker\.m2\repository\org\apache\tomcat\embed\tomcat-embed-core\9.0.19\tomcat-embed-core-9.0.19.jar;C:\Users\aker\.m2\repository\org\apache\tomcat\embed\tomcat-embed-el\9.0.19\tomcat-embed-el-9.0.19.jar;C:\Users\aker\.m2\repository\org\apache\tomcat\embed\tomcat-embed-websocket\9.0.19\tomcat-embed-websocket-9.0.19.jar;C:\Users\aker\.m2\repository\org\springframework\boot\spring-boot-starter-security\2.2.0.M3\spring-boot-starter-security-2.2.0.M3.jar;C:\Users\aker\.m2\repository\org\springframework\boot\spring-boot-starter\2.2.0.M3\spring-boot-starter-2.2.0.M3.jar;C:\Users\aker\.m2\repository\org\springframework\boot\spring-boot-starter-logging\2.2.0.M3\spring-boot-starter-logging-2.2.0.M3.jar;C:\Users\aker\.m2\repository\ch\qos\logback\logback-classic\1.2.3\logback-classic-1.2.3.jar;C:\Users\aker\.m2\repository\ch\qos\logback\logback-core\1.2.3\logback-core-1.2.3.jar;C:\Users\aker\.m2\repository\org\apache\logging\log4j\log4j-to-slf4j\2.11.2\log4j-to-slf4j-2.11.2.jar;C:\Users\aker\.m2\repository\org\apache\logging\log4j\log4j-api\2.11.2\log4j-api-2.11.2.jar;C:\Users\aker\.m2\repository\org\slf4j\jul-to-slf4j\1.7.26\jul-to-slf4j-1.7.26.jar;C:\Users\aker\.m2\repository\org\yaml\snakeyaml\1.24\snakeyaml-1.24.jar;C:\Users\aker\.m2\repository\org\springframework\spring-aop\5.2.0.M2\spring-aop-5.2.0.M2.jar;C:\Users\aker\.m2\repository\org\springframework\spring-beans\5.2.0.M2\spring-beans-5.2.0.M2.jar;C:\Users\aker\.m2\repository\org\springframework\security\spring-security-config\5.2.0.M2\spring-security-config-5.2.0.M2.jar;C:\Users\aker\.m2\repository\org\springframework\security\spring-security-core\5.2.0.M2\spring-security-core-5.2.0.M2.jar;C:\Users\aker\.m2\repository\org\springframework\spring-context\5.2.0.M2\spring-context-5.2.0.M2.jar;C:\Users\aker\.m2\repository\org\springframework\security\spring-security-web\5.2.0.M2\spring-security-web-5.2.0.M2.jar;C:\Users\aker\.m2\repository\org\springframework\spring-expression\5.2.0.M2\spring-expression-5.2.0.M2.jar;C:\Users\aker\.m2\repository\org\springframework\boot\spring-boot-starter-data-jpa\2.2.0.M3\spring-boot-starter-data-jpa-2.2.0.M3.jar;C:\Users\aker\.m2\repository\org\springframework\boot\spring-boot-starter-aop\2.2.0.M3\spring-boot-starter-aop-2.2.0.M3.jar;C:\Users\aker\.m2\repository\org\aspectj\aspectjweaver\1.9.4\aspectjweaver-1.9.4.jar;C:\Users\aker\.m2\repository\org\springframework\boot\spring-boot-starter-jdbc\2.2.0.M3\spring-boot-starter-jdbc-2.2.0.M3.jar;C:\Users\aker\.m2\repository\com\zaxxer\HikariCP\3.3.1\HikariCP-3.3.1.jar;C:\Users\aker\.m2\repository\org\springframework\spring-jdbc\5.2.0.M2\spring-jdbc-5.2.0.M2.jar;C:\Users\aker\.m2\repository\jakarta\activation\jakarta.activation-api\1.2.1\jakarta.activation-api-1.2.1.jar;C:\Users\aker\.m2\repository\jakarta\persistence\jakarta.persistence-api\2.2.2\jakarta.persistence-api-2.2.2.jar;C:\Users\aker\.m2\repository\jakarta\transaction\jakarta.transaction-api\1.3.2\jakarta.transaction-api-1.3.2.jar;C:\Users\aker\.m2\repository\org\hibernate\hibernate-core\5.4.2.Final\hibernate-core-5.4.2.Final.jar;C:\Users\aker\.m2\repository\org\jboss\logging\jboss-logging\3.3.2.Final\jboss-logging-3.3.2.Final.jar;C:\Users\aker\.m2\repository\org\javassist\javassist\3.24.0-GA\javassist-3.24.0-GA.jar;C:\Users\aker\.m2\repository\net\bytebuddy\byte-buddy\1.9.12\byte-buddy-1.9.12.jar;C:\Users\aker\.m2\repository\antlr\antlr\2.7.7\antlr-2.7.7.jar;C:\Users\aker\.m2\repository\org\jboss\jandex\2.0.5.Final\jandex-2.0.5.Final.jar;C:\Users\aker\.m2\repository\com\fasterxml\classmate\1.5.0\classmate-1.5.0.jar;C:\Users\aker\.m2\repository\org\dom4j\dom4j\2.1.1\dom4j-2.1.1.jar;C:\Users\aker\.m2\repository\org\hibernate\common\hibernate-commons-annotations\5.1.0.Final\hibernate-commons-annotations-5.1.0.Final.jar;C:\Users\aker\.m2\repository\org\glassfish\jaxb\jaxb-runtime\2.3.2\jaxb-runtime-2.3.2.jar;C:\Users\aker\.m2\repository\org\glassfish\jaxb\txw2\2.3.2\txw2-2.3.2.jar;C:\Users\aker\.m2\repository\com\sun\istack\istack-commons-runtime\3.0.8\istack-commons-runtime-3.0.8.jar;C:\Users\aker\.m2\repository\org\jvnet\staxex\stax-ex\1.8.1\stax-ex-1.8.1.jar;C:\Users\aker\.m2\repository\com\sun\xml\fastinfoset\FastInfoset\1.2.16\FastInfoset-1.2.16.jar;C:\Users\aker\.m2\repository\org\springframework\data\spring-data-jpa\2.2.0.M4\spring-data-jpa-2.2.0.M4.jar;C:\Users\aker\.m2\repository\org\springframework\data\spring-data-commons\2.2.0.M4\spring-data-commons-2.2.0.M4.jar;C:\Users\aker\.m2\repository\org\springframework\spring-orm\5.2.0.M2\spring-orm-5.2.0.M2.jar;C:\Users\aker\.m2\repository\org\springframework\spring-tx\5.2.0.M2\spring-tx-5.2.0.M2.jar;C:\Users\aker\.m2\repository\org\slf4j\slf4j-api\1.7.26\slf4j-api-1.7.26.jar;C:\Users\aker\.m2\repository\org\springframework\spring-aspects\5.2.0.M2\spring-aspects-5.2.0.M2.jar;C:\Users\aker\.m2\repository\org\springframework\boot\spring-boot-starter-data-rest\2.2.0.M3\spring-boot-starter-data-rest-2.2.0.M3.jar;C:\Users\aker\.m2\repository\org\springframework\data\spring-data-rest-webmvc\3.2.0.M4\spring-data-rest-webmvc-3.2.0.M4.jar;C:\Users\aker\.m2\repository\org\springframework\data\spring-data-rest-core\3.2.0.M4\spring-data-rest-core-3.2.0.M4.jar;C:\Users\aker\.m2\repository\org\springframework\hateoas\spring-hateoas\1.0.0.M2\spring-hateoas-1.0.0.M2.jar;C:\Users\aker\.m2\repository\org\springframework\plugin\spring-plugin-core\2.0.0.M1\spring-plugin-core-2.0.0.M1.jar;C:\Users\aker\.m2\repository\org\atteo\evo-inflector\1.2.2\evo-inflector-1.2.2.jar;C:\Users\aker\.m2\repository\org\springframework\boot\spring-boot-starter-web\2.2.0.M3\spring-boot-starter-web-2.2.0.M3.jar;C:\Users\aker\.m2\repository\org\springframework\boot\spring-boot-starter-json\2.2.0.M3\spring-boot-starter-json-2.2.0.M3.jar;C:\Users\aker\.m2\repository\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.9.8\jackson-datatype-jdk8-2.9.8.jar;C:\Users\aker\.m2\repository\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.9.8\jackson-datatype-jsr310-2.9.8.jar;C:\Users\aker\.m2\repository\com\fasterxml\jackson\module\jackson-module-parameter-names\2.9.8\jackson-module-parameter-names-2.9.8.jar;C:\Users\aker\.m2\repository\org\springframework\boot\spring-boot-starter-validation\2.2.0.M3\spring-boot-starter-validation-2.2.0.M3.jar;C:\Users\aker\.m2\repository\jakarta\validation\jakarta.validation-api\2.0.1\jakarta.validation-api-2.0.1.jar;C:\Users\aker\.m2\repository\org\hibernate\validator\hibernate-validator\6.0.16.Final\hibernate-validator-6.0.16.Final.jar;C:\Users\aker\.m2\repository\org\springframework\spring-web\5.2.0.M2\spring-web-5.2.0.M2.jar;C:\Users\aker\.m2\repository\org\springframework\spring-webmvc\5.2.0.M2\spring-webmvc-5.2.0.M2.jar;C:\Users\aker\.m2\repository\org\springframework\boot\spring-boot-devtools\2.2.0.M3\spring-boot-devtools-2.2.0.M3.jar;C:\Users\aker\.m2\repository\org\springframework\boot\spring-boot\2.2.0.M3\spring-boot-2.2.0.M3.jar;C:\Users\aker\.m2\repository\org\springframework\boot\spring-boot-autoconfigure\2.2.0.M3\spring-boot-autoconfigure-2.2.0.M3.jar;C:\Users\aker\.m2\repository\org\projectlombok\lombok\1.18.8\lombok-1.18.8.jar;C:\Users\aker\.m2\repository\org\springframework\boot\spring-boot-starter-test\2.2.0.M3\spring-boot-starter-test-2.2.0.M3.jar;C:\Users\aker\.m2\repository\org\springframework\boot\spring-boot-test\2.2.0.M3\spring-boot-test-2.2.0.M3.jar;C:\Users\aker\.m2\repository\org\springframework\boot\spring-boot-test-autoconfigure\2.2.0.M3\spring-boot-test-autoconfigure-2.2.0.M3.jar;C:\Users\aker\.m2\repository\com\jayway\jsonpath\json-path\2.4.0\json-path-2.4.0.jar;C:\Users\aker\.m2\repository\net\minidev\json-smart\2.3\json-smart-2.3.jar;C:\Users\aker\.m2\repository\net\minidev\accessors-smart\1.2\accessors-smart-1.2.jar;C:\Users\aker\.m2\repository\org\ow2\asm\asm\5.0.4\asm-5.0.4.jar;C:\Users\aker\.m2\repository\jakarta\xml\bind\jakarta.xml.bind-api\2.3.2\jakarta.xml.bind-api-2.3.2.jar;C:\Users\aker\.m2\repository\org\junit\jupiter\junit-jupiter\5.4.2\junit-jupiter-5.4.2.jar;C:\Users\aker\.m2\repository\org\junit\jupiter\junit-jupiter-api\5.4.2\junit-jupiter-api-5.4.2.jar;C:\Users\aker\.m2\repository\org\apiguardian\apiguardian-api\1.0.0\apiguardian-api-1.0.0.jar;C:\Users\aker\.m2\repository\org\opentest4j\opentest4j\1.1.1\opentest4j-1.1.1.jar;C:\Users\aker\.m2\repository\org\junit\platform\junit-platform-commons\1.4.2\junit-platform-commons-1.4.2.jar;C:\Users\aker\.m2\repository\org\junit\jupiter\junit-jupiter-params\5.4.2\junit-jupiter-params-5.4.2.jar;C:\Users\aker\.m2\repository\org\junit\jupiter\junit-jupiter-engine\5.4.2\junit-jupiter-engine-5.4.2.jar;C:\Users\aker\.m2\repository\org\junit\platform\junit-platform-engine\1.4.2\junit-platform-engine-1.4.2.jar;C:\Users\aker\.m2\repository\org\mockito\mockito-junit-jupiter\2.27.0\mockito-junit-jupiter-2.27.0.jar;C:\Users\aker\.m2\repository\org\assertj\assertj-core\3.12.2\assertj-core-3.12.2.jar;C:\Users\aker\.m2\repository\org\hamcrest\hamcrest-core\1.3\hamcrest-core-1.3.jar;C:\Users\aker\.m2\repository\org\hamcrest\hamcrest-library\1.3\hamcrest-library-1.3.jar;C:\Users\aker\.m2\repository\org\mockito\mockito-core\2.27.0\mockito-core-2.27.0.jar;C:\Users\aker\.m2\repository\net\bytebuddy\byte-buddy-agent\1.9.12\byte-buddy-agent-1.9.12.jar;C:\Users\aker\.m2\repository\org\objenesis\objenesis\2.6\objenesis-2.6.jar;C:\Users\aker\.m2\repository\org\skyscreamer\jsonassert\1.5.0\jsonassert-1.5.0.jar;C:\Users\aker\.m2\repository\com\vaadin\external\google\android-json\0.0.20131108.vaadin1\android-json-0.0.20131108.vaadin1.jar;C:\Users\aker\.m2\repository\org\springframework\spring-core\5.2.0.M2\spring-core-5.2.0.M2.jar;C:\Users\aker\.m2\repository\org\springframework\spring-jcl\5.2.0.M2\spring-jcl-5.2.0.M2.jar;C:\Users\aker\.m2\repository\org\springframework\spring-test\5.2.0.M2\spring-test-5.2.0.M2.jar;C:\Users\aker\.m2\repository\org\xmlunit\xmlunit-core\2.6.2\xmlunit-core-2.6.2.jar;"/>
        <property name="sun.cpu.endian" value="little"/>
        <property name="user.home" value="C:\Users\aker"/>
        <property name="user.language" value="fr"/>
        <property name="java.specification.vendor" value="Oracle Corporation"/>
        <property name="java.home" value="C:\Program Files\Java\jdk1.8.0_212\jre"/>
        <property name="basedir" value="C:\Users\aker\Documents\televerser_front_back\upload_bk"/>
        <property name="file.separator" value="\"/>
        <property name="line.separator" value="
    "/>
        <property name="java.vm.specification.vendor" value="Oracle Corporation"/>
        <property name="java.specification.name" value="Java Platform API Specification"/>
        <property name="java.awt.graphicsenv" value="sun.awt.Win32GraphicsEnvironment"/>
        <property name="surefire.real.class.path" value="C:\Users\aker\AppData\Local\Temp\surefire6755185911780785250\surefirebooter2282385209798995480.jar"/>
        <property name="sun.boot.class.path" value="C:\Program Files\Java\jdk1.8.0_212\jre\lib\resources.jar;C:\Program Files\Java\jdk1.8.0_212\jre\lib\rt.jar;C:\Program Files\Java\jdk1.8.0_212\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.8.0_212\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.8.0_212\jre\lib\jce.jar;C:\Program Files\Java\jdk1.8.0_212\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_212\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.8.0_212\jre\classes"/>
        <property name="user.script" value=""/>
        <property name="sun.management.compiler" value="HotSpot 64-Bit Tiered Compilers"/>
        <property name="java.runtime.version" value="1.8.0_212-b10"/>
        <property name="user.name" value="aker"/>
        <property name="path.separator" value=";"/>
        <property name="os.version" value="10.0"/>
        <property name="java.endorsed.dirs" value="C:\Program Files\Java\jdk1.8.0_212\jre\lib\endorsed"/>
        <property name="java.runtime.name" value="Java(TM) SE Runtime Environment"/>
        <property name="file.encoding" value="Cp1252"/>
        <property name="java.vm.name" value="Java HotSpot(TM) 64-Bit Server VM"/>
        <property name="localRepository" value="C:\Users\aker\.m2\repository"/>
        <property name="java.vendor.url.bug" value="http://bugreport.sun.com/bugreport/"/>
        <property name="java.io.tmpdir" value="C:\Users\aker\AppData\Local\Temp\"/>
        <property name="java.version" value="1.8.0_212"/>
        <property name="user.dir" value="C:\Users\aker\Documents\televerser_front_back\upload_bk"/>
        <property name="os.arch" value="amd64"/>
        <property name="java.vm.specification.name" value="Java Virtual Machine Specification"/>
        <property name="java.awt.printerjob" value="sun.awt.windows.WPrinterJob"/>
        <property name="sun.os.patch.level" value=""/>
        <property name="java.library.path" value="C:\Program Files\Java\jdk1.8.0_212\jre\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files\AdoptOpenJDK\jdk-8.0.212.03-hotspot\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git\cmd;C:\Program Files\PuTTY\;C:\Program Files\Microsoft VS Code\bin;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\nodejs\;C:\Users\aker\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Microsoft VS Code\bin;C:\Users\aker\AppData\Roaming\npm;C:\maven\bin;;."/>
        <property name="java.vm.info" value="mixed mode"/>
        <property name="java.vendor" value="Oracle Corporation"/>
        <property name="java.vm.version" value="25.212-b10"/>
        <property name="java.ext.dirs" value="C:\Program Files\Java\jdk1.8.0_212\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext"/>
        <property name="sun.io.unicode.encoding" value="UnicodeLittle"/>
        <property name="java.class.version" value="52.0"/>
      </properties>
      <testcase name="contextLoads" classname="kod.sklt.DemoApplicationTests" time="0.001">
        <error message="Failed to load ApplicationContext" type="java.lang.IllegalStateException">java.lang.IllegalStateException: Failed to load ApplicationContext
    Caused by: java.lang.IllegalStateException: Failed to execute CommandLineRunner
    Caused by: org.springframework.dao.IncorrectResultSizeDataAccessException: query did not return a unique result: 5; nested exception is javax.persistence.NonUniqueResultException: query did not return a unique result: 5
    Caused by: javax.persistence.NonUniqueResultException: query did not return a unique result: 5
    </error>
        <system-out><![CDATA[11:23:04.174 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating CacheAwareContextLoaderDelegate from class [org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate]
    11:23:04.193 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating BootstrapContext using constructor [public org.springframework.test.context.support.DefaultBootstrapContext(java.lang.Class,org.springframework.test.context.CacheAwareContextLoaderDelegate)]
    11:23:04.225 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating TestContextBootstrapper for test class [kod.sklt.DemoApplicationTests] from class [org.springframework.boot.test.context.SpringBootTestContextBootstrapper]
    11:23:04.249 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [kod.sklt.DemoApplicationTests], using SpringBootContextLoader
    11:23:04.256 [main] DEBUG org.springframework.test.context.support.AbstractContextLoader - Did not detect default resource location for test class [kod.sklt.DemoApplicationTests]: class path resource [kod/sklt/DemoApplicationTests-context.xml] does not exist
    11:23:04.256 [main] DEBUG org.springframework.test.context.support.AbstractContextLoader - Did not detect default resource location for test class [kod.sklt.DemoApplicationTests]: class path resource [kod/sklt/DemoApplicationTestsContext.groovy] does not exist
    11:23:04.256 [main] INFO org.springframework.test.context.support.AbstractContextLoader - Could not detect default resource locations for test class [kod.sklt.DemoApplicationTests]: no resource found for suffixes {-context.xml, Context.groovy}.
    11:23:04.258 [main] INFO org.springframework.test.context.support.AnnotationConfigContextLoaderUtils - Could not detect default configuration classes for test class [kod.sklt.DemoApplicationTests]: DemoApplicationTests does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
    11:23:04.313 [main] DEBUG org.springframework.test.context.support.ActiveProfilesUtils - Could not find an 'annotation declaring class' for annotation type [org.springframework.test.context.ActiveProfiles] and class [kod.sklt.DemoApplicationTests]
    11:23:04.396 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [C:\Users\aker\Documents\televerser_front_back\upload_bk\target\classes\kod\sklt\KodCms.class]
    11:23:04.398 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Found @SpringBootConfiguration kod.sklt.KodCms for test class kod.sklt.DemoApplicationTests
    11:23:04.505 [main] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - @TestExecutionListeners is not present for class [kod.sklt.DemoApplicationTests]: using defaults.
    11:23:04.506 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener, org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener, org.springframework.test.context.event.EventPublishingTestExecutionListener]
    11:23:04.533 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@29215f06, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@59505b48, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@4efac082, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@6bd61f98, org.springframework.test.context.support.DirtiesContextTestExecutionListener@48aca48b, org.springframework.test.context.transaction.TransactionalTestExecutionListener@13fd2ccd, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@b9b00e0, org.springframework.test.context.event.EventPublishingTestExecutionListener@506ae4d4, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@7d4f9aae, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@72e5a8e, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@54e1c68b, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@53aac487, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@52b1beb6]
    11:23:04.538 [main] DEBUG org.springframework.test.context.support.AbstractDirtiesContextTestExecutionListener - Before test class: context [DefaultTestContext@130c12b7 testClass = DemoApplicationTests, testInstance = [null], testMethod = [null], testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@5e600dd5 testClass = DemoApplicationTests, locations = '{}', classes = '{class kod.sklt.KodCms}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@5a63f509, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@e056f20, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@636be97c, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@619713e5], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true]], class annotated with @DirtiesContext [false] with mode [null].
    11:23:04.570 [main] DEBUG org.springframework.test.context.support.TestPropertySourceUtils - Adding inlined properties to environment: {spring.jmx.enabled=false, org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true, server.port=-1}
     
      .   ____          _            __ _ _
     /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
    ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
     \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
      '  |____| .__|_| |_|_| |_\__, | / / / /
     =========|_|==============|___/=/_/_/_/
     :: Spring Boot ::             (v2.2.0.M3)
     
    2019-08-01 11:23:04.894  INFO 1220 --- [           main] kod.sklt.DemoApplicationTests          : Starting DemoApplicationTests on DESKTOP-53EA61M with PID 1220 (started by aker in C:\Users\aker\Documents\televerser_front_back\upload_bk)
    2019-08-01 11:23:04.896  INFO 1220 --- [           main] kod.sklt.DemoApplicationTests          : No active profile set, falling back to default profiles: default
    2019-08-01 11:23:06.073  INFO 1220 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data repositories in DEFAULT mode.
    2019-08-01 11:23:06.209  INFO 1220 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 122ms. Found 2 repository interfaces.
    2019-08-01 11:23:06.731  INFO 1220 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$97fb46cf] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    2019-08-01 11:23:06.775  INFO 1220 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.hateoas.config.WebMvcHateoasConfiguration' of type [org.springframework.hateoas.config.WebMvcHateoasConfiguration$$EnhancerBySpringCGLIB$$c891a547] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    2019-08-01 11:23:06.816  INFO 1220 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.data.rest.RepositoryRestMvcAutoConfiguration' of type [org.springframework.boot.autoconfigure.data.rest.RepositoryRestMvcAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    2019-08-01 11:23:06.823  INFO 1220 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration$JacksonObjectMapperBuilderConfiguration' of type [org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration$JacksonObjectMapperBuilderConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    2019-08-01 11:23:06.828  INFO 1220 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration$Jackson2ObjectMapperBuilderCustomizerConfiguration' of type [org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration$Jackson2ObjectMapperBuilderCustomizerConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    2019-08-01 11:23:06.855  INFO 1220 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.jackson-org.springframework.boot.autoconfigure.jackson.JacksonProperties' of type [org.springframework.boot.autoconfigure.jackson.JacksonProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    2019-08-01 11:23:06.861  INFO 1220 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'standardJacksonObjectMapperBuilderCustomizer' of type [org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration$Jackson2ObjectMapperBuilderCustomizerConfiguration$StandardJackson2ObjectMapperBuilderCustomizer] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    2019-08-01 11:23:06.868  INFO 1220 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration$ParameterNamesModuleConfiguration' of type [org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration$ParameterNamesModuleConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    2019-08-01 11:23:06.884  INFO 1220 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'parameterNamesModule' of type [com.fasterxml.jackson.module.paramnames.ParameterNamesModule] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    2019-08-01 11:23:06.890  INFO 1220 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration' of type [org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    2019-08-01 11:23:06.908  INFO 1220 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'jsonComponentModule' of type [org.springframework.boot.jackson.JsonComponentModule] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    2019-08-01 11:23:06.912  INFO 1220 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.data.web.config.SpringDataJacksonConfiguration' of type [org.springframework.data.web.config.SpringDataJacksonConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    2019-08-01 11:23:06.921  INFO 1220 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'jacksonGeoModule' of type [org.springframework.data.geo.GeoModule] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    2019-08-01 11:23:06.928  INFO 1220 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'jacksonObjectMapperBuilder' of type [org.springframework.http.converter.json.Jackson2ObjectMapperBuilder] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    2019-08-01 11:23:06.942  INFO 1220 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.data.rest-org.springframework.boot.autoconfigure.data.rest.RepositoryRestProperties' of type [org.springframework.boot.autoconfigure.data.rest.RepositoryRestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    2019-08-01 11:23:06.943  INFO 1220 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'springBootRepositoryRestConfigurer' of type [org.springframework.boot.autoconfigure.data.rest.SpringBootRepositoryRestConfigurer] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    2019-08-01 11:23:06.954  INFO 1220 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.hateoas.config.HateoasConfiguration' of type [org.springframework.hateoas.config.HateoasConfiguration$$EnhancerBySpringCGLIB$$177b9401] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    2019-08-01 11:23:06.975  INFO 1220 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'relProviderPluginRegistry' of type [org.springframework.plugin.core.support.PluginRegistryFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    2019-08-01 11:23:06.981  INFO 1220 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'relProviderPluginRegistry' of type [org.springframework.plugin.core.OrderAwarePluginRegistry] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    2019-08-01 11:23:06.993  INFO 1220 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean '_relProvider' of type [org.springframework.hateoas.server.core.DelegatingLinkRelationProvider] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    2019-08-01 11:23:06.999  INFO 1220 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration' of type [org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration$$EnhancerBySpringCGLIB$$b8fe656f] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    2019-08-01 11:23:07.065  INFO 1220 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#3eda0aeb' of type [org.springframework.beans.factory.config.PropertiesFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    2019-08-01 11:23:07.065  INFO 1220 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#3eda0aeb' of type [java.util.Properties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    2019-08-01 11:23:07.070  INFO 1220 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#73010765' of type [org.springframework.data.repository.core.support.PropertiesBasedNamedQueries] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    2019-08-01 11:23:07.081  INFO 1220 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#35eb4a3b' of type [org.springframework.data.repository.core.support.RepositoryFragmentsFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    2019-08-01 11:23:07.082  INFO 1220 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#35eb4a3b' of type [org.springframework.data.repository.core.support.RepositoryComposition$RepositoryFragments] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    2019-08-01 11:23:07.095  INFO 1220 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.jdbc.DataSourceConfiguration$Hikari' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceConfiguration$Hikari] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    2019-08-01 11:23:07.125  INFO 1220 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.datasource-org.springframework.boot.autoconfigure.jdbc.DataSourceProperties' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    2019-08-01 11:23:07.181  INFO 1220 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'dataSource' of type [com.zaxxer.hikari.HikariDataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    2019-08-01 11:23:07.200  INFO 1220 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.jdbc.DataSourceInitializerInvoker' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceInitializerInvoker] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    2019-08-01 11:23:07.212  INFO 1220 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.jpa-org.springframework.boot.autoconfigure.orm.jpa.JpaProperties' of type [org.springframework.boot.autoconfigure.orm.jpa.JpaProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    2019-08-01 11:23:07.222  INFO 1220 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.jpa.hibernate-org.springframework.boot.autoconfigure.orm.jpa.HibernateProperties' of type [org.springframework.boot.autoconfigure.orm.jpa.HibernateProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    2019-08-01 11:23:07.228  INFO 1220 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.jdbc.metadata.DataSourcePoolMetadataProvidersConfiguration$HikariPoolDataSourceMetadataProviderConfiguration' of type [org.springframework.boot.autoconfigure.jdbc.metadata.DataSourcePoolMetadataProvidersConfiguration$HikariPoolDataSourceMetadataProviderConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    2019-08-01 11:23:07.231  INFO 1220 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'hikariPoolDataSourceMetadataProvider' of type [org.springframework.boot.autoconfigure.jdbc.metadata.DataSourcePoolMetadataProvidersConfiguration$HikariPoolDataSourceMetadataProviderConfiguration$$Lambda$589/1821581506] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    2019-08-01 11:23:07.243  INFO 1220 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaConfiguration' of type [org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    2019-08-01 11:23:07.309  INFO 1220 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'jpaVendorAdapter' of type [org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    2019-08-01 11:23:07.320  INFO 1220 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'entityManagerFactoryBuilder' of type [org.springframework.boot.orm.jpa.EntityManagerFactoryBuilder] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    2019-08-01 11:23:07.427  INFO 1220 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
    2019-08-01 11:23:07.543  INFO 1220 --- [           main] org.hibernate.Version                    : HHH000412: Hibernate Core {5.4.2.Final}
    2019-08-01 11:23:07.720  INFO 1220 --- [           main] o.hibernate.annotations.common.Version   : HCANN000001: Hibernate Commons Annotations {5.1.0.Final}
    2019-08-01 11:23:07.849  INFO 1220 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Starting...
    2019-08-01 11:23:08.039  INFO 1220 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Start completed.
    2019-08-01 11:23:08.055  INFO 1220 --- [           main] org.hibernate.dialect.Dialect            : HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect
    2019-08-01 11:23:09.125  INFO 1220 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
    2019-08-01 11:23:09.128  INFO 1220 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
    2019-08-01 11:23:09.131  INFO 1220 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'entityManagerFactory' of type [org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    2019-08-01 11:23:09.131  INFO 1220 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'entityManagerFactory' of type [com.sun.proxy.$Proxy104] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    2019-08-01 11:23:09.154  INFO 1220 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#36bf84e' of type [com.sun.proxy.$Proxy105] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    2019-08-01 11:23:09.181  INFO 1220 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'jpaMappingContext' of type [org.springframework.data.jpa.repository.config.JpaMetamodelMappingContextFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    2019-08-01 11:23:09.182  INFO 1220 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'jpaMappingContext' of type [org.springframework.data.jpa.mapping.JpaMetamodelMappingContext] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    2019-08-01 11:23:09.575  INFO 1220 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'membreRepository' of type [org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    2019-08-01 11:23:09.582  INFO 1220 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#48632f69' of type [org.springframework.beans.factory.config.PropertiesFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    2019-08-01 11:23:09.582  INFO 1220 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#48632f69' of type [java.util.Properties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    2019-08-01 11:23:09.582  INFO 1220 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#6e46891d' of type [org.springframework.data.repository.core.support.PropertiesBasedNamedQueries] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    2019-08-01 11:23:09.583  INFO 1220 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#58cda03f' of type [org.springframework.data.repository.core.support.RepositoryFragmentsFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    2019-08-01 11:23:09.583  INFO 1220 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#58cda03f' of type [org.springframework.data.repository.core.support.RepositoryComposition$RepositoryFragments] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    2019-08-01 11:23:09.584  INFO 1220 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#e521067' of type [com.sun.proxy.$Proxy105] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    2019-08-01 11:23:09.614  INFO 1220 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'roleRepository' of type [org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    2019-08-01 11:23:09.622  INFO 1220 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'repositories' of type [org.springframework.data.repository.support.Repositories] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    2019-08-01 11:23:09.633  INFO 1220 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'metadataConfiguration' of type [org.springframework.data.rest.core.config.MetadataConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    2019-08-01 11:23:09.643  INFO 1220 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'resourceDescriptionMessageSourceAccessor' of type [org.springframework.context.support.MessageSourceAccessor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    2019-08-01 11:23:09.656  INFO 1220 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'enumTranslator' of type [org.springframework.data.rest.webmvc.json.EnumTranslator] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    2019-08-01 11:23:09.704  INFO 1220 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'repositoryRestConfiguration' of type [org.springframework.data.rest.core.config.RepositoryRestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    2019-08-01 11:23:09.718  INFO 1220 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'profileResourceProcessor' of type [org.springframework.data.rest.webmvc.ProfileResourceProcessor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    2019-08-01 11:23:10.018  WARN 1220 --- [           main] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning
    ==> csrf dispabled
    ==> http.sessionManager
    ==> addFilter
    ==> addFilterBefore
    2019-08-01 11:23:10.886  INFO 1220 --- [           main] o.s.s.web.DefaultSecurityFilterChain     : Creating filter chain: any request, [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@58f290bc, org.springframework.security.web.context.SecurityContextPersistenceFilter@75a9cc24, org.springframework.security.web.header.HeaderWriterFilter@2166c48a, org.springframework.security.web.authentication.logout.LogoutFilter@116fc29e, kod.sklt.secu.JWTAuthorizationFilter@3220c28, kod.sklt.secu.JWTAuthentificationFilter@6ae42248, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@da5d5e1, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@70777a65, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@40c28b0d, org.springframework.security.web.session.SessionManagementFilter@73385d3f, org.springframework.security.web.access.ExceptionTranslationFilter@4b336cc8, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@40863800]
    2019-08-01 11:23:11.406  INFO 1220 --- [           main] o.s.s.concurrent.ThreadPoolTaskExecutor  : Initializing ExecutorService 'applicationTaskExecutor'
    2019-08-01 11:23:11.995  INFO 1220 --- [           main] kod.sklt.DemoApplicationTests          : Started DemoApplicationTests in 7.409 seconds (JVM running for 8.548)
    ================ START
    2019-08-01 11:23:12.538  INFO 1220 --- [           main] ConditionEvaluationReportLoggingListener : 
     
    Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
    2019-08-01 11:23:12.547 ERROR 1220 --- [           main] o.s.boot.SpringApplication               : Application run failed
     
    java.lang.IllegalStateException: Failed to execute CommandLineRunner
    	at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:823) ~[spring-boot-2.2.0.M3.jar:2.2.0.M3]
    	at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:804) ~[spring-boot-2.2.0.M3.jar:2.2.0.M3]
    	at org.springframework.boot.SpringApplication.run(SpringApplication.java:327) ~[spring-boot-2.2.0.M3.jar:2.2.0.M3]
    	at org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:132) [spring-boot-test-2.2.0.M3.jar:2.2.0.M3]
    	at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) [spring-test-5.2.0.M2.jar:5.2.0.M2]
    	at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) [spring-test-5.2.0.M2.jar:5.2.0.M2]
    	at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:122) [spring-test-5.2.0.M2.jar:5.2.0.M2]
    	at org.springframework.test.context.web.ServletTestExecutionListener.setUpRequestContextIfNecessary(ServletTestExecutionListener.java:190) [spring-test-5.2.0.M2.jar:5.2.0.M2]
    	at org.springframework.test.context.web.ServletTestExecutionListener.prepareTestInstance(ServletTestExecutionListener.java:132) [spring-test-5.2.0.M2.jar:5.2.0.M2]
    	at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:244) [spring-test-5.2.0.M2.jar:5.2.0.M2]
    	at org.springframework.test.context.junit.jupiter.SpringExtension.postProcessTestInstance(SpringExtension.java:98) [spring-test-5.2.0.M2.jar:5.2.0.M2]
    	at org.junit.jupiter.engine.descriptor.ClassTestDescriptor.lambda$invokeTestInstancePostProcessors$6(ClassTestDescriptor.java:352) [junit-jupiter-engine-5.4.2.jar:5.4.2]
    	at org.junit.jupiter.engine.descriptor.JupiterTestDescriptor.executeAndMaskThrowable(JupiterTestDescriptor.java:204) ~[junit-jupiter-engine-5.4.2.jar:5.4.2]
    	at org.junit.jupiter.engine.descriptor.ClassTestDescriptor.lambda$invokeTestInstancePostProcessors$7(ClassTestDescriptor.java:352) [junit-jupiter-engine-5.4.2.jar:5.4.2]
    	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) ~[na:1.8.0_212]
    	at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) ~[na:1.8.0_212]
    	at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382) ~[na:1.8.0_212]
    	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) ~[na:1.8.0_212]
    	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) ~[na:1.8.0_212]
    	at java.util.stream.StreamSpliterators$WrappingSpliterator.forEachRemaining(StreamSpliterators.java:312) ~[na:1.8.0_212]
    	at java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:743) ~[na:1.8.0_212]
    	at java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:742) ~[na:1.8.0_212]
    	at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580) ~[na:1.8.0_212]
    	at org.junit.jupiter.engine.descriptor.ClassTestDescriptor.invokeTestInstancePostProcessors(ClassTestDescriptor.java:351) [junit-jupiter-engine-5.4.2.jar:5.4.2]
    	at org.junit.jupiter.engine.descriptor.ClassTestDescriptor.instantiateAndPostProcessTestInstance(ClassTestDescriptor.java:270) [junit-jupiter-engine-5.4.2.jar:5.4.2]
    	at org.junit.jupiter.engine.descriptor.ClassTestDescriptor.lambda$testInstancesProvider$2(ClassTestDescriptor.java:259) [junit-jupiter-engine-5.4.2.jar:5.4.2]
    	at org.junit.jupiter.engine.descriptor.ClassTestDescriptor.lambda$testInstancesProvider$3(ClassTestDescriptor.java:263) [junit-jupiter-engine-5.4.2.jar:5.4.2]
    	at java.util.Optional.orElseGet(Optional.java:267) ~[na:1.8.0_212]
    	at org.junit.jupiter.engine.descriptor.ClassTestDescriptor.lambda$testInstancesProvider$4(ClassTestDescriptor.java:262) [junit-jupiter-engine-5.4.2.jar:5.4.2]
    	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$prepare$0(TestMethodTestDescriptor.java:98) ~[junit-jupiter-engine-5.4.2.jar:5.4.2]
    	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) ~[junit-platform-engine-1.4.2.jar:1.4.2]
    	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.prepare(TestMethodTestDescriptor.java:97) ~[junit-jupiter-engine-5.4.2.jar:5.4.2]
    	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.prepare(TestMethodTestDescriptor.java:68) ~[junit-jupiter-engine-5.4.2.jar:5.4.2]
    	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$prepare$1(NodeTestTask.java:107) ~[junit-platform-engine-1.4.2.jar:1.4.2]
    	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) ~[junit-platform-engine-1.4.2.jar:1.4.2]
    	at org.junit.platform.engine.support.hierarchical.NodeTestTask.prepare(NodeTestTask.java:107) ~[junit-platform-engine-1.4.2.jar:1.4.2]
    	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:75) ~[junit-platform-engine-1.4.2.jar:1.4.2]
    	at java.util.ArrayList.forEach(ArrayList.java:1257) ~[na:1.8.0_212]
    	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) ~[junit-platform-engine-1.4.2.jar:1.4.2]
    	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) ~[junit-platform-engine-1.4.2.jar:1.4.2]
    	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) ~[junit-platform-engine-1.4.2.jar:1.4.2]
    	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:125) ~[junit-platform-engine-1.4.2.jar:1.4.2]
    	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:135) ~[junit-platform-engine-1.4.2.jar:1.4.2]
    	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:123) ~[junit-platform-engine-1.4.2.jar:1.4.2]
    	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) ~[junit-platform-engine-1.4.2.jar:1.4.2]
    	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:122) ~[junit-platform-engine-1.4.2.jar:1.4.2]
    	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:80) ~[junit-platform-engine-1.4.2.jar:1.4.2]
    	at java.util.ArrayList.forEach(ArrayList.java:1257) ~[na:1.8.0_212]
    	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) ~[junit-platform-engine-1.4.2.jar:1.4.2]
    	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) ~[junit-platform-engine-1.4.2.jar:1.4.2]
    	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) ~[junit-platform-engine-1.4.2.jar:1.4.2]
    	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:125) ~[junit-platform-engine-1.4.2.jar:1.4.2]
    	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:135) ~[junit-platform-engine-1.4.2.jar:1.4.2]
    	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:123) ~[junit-platform-engine-1.4.2.jar:1.4.2]
    	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) ~[junit-platform-engine-1.4.2.jar:1.4.2]
    	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:122) ~[junit-platform-engine-1.4.2.jar:1.4.2]
    	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:80) ~[junit-platform-engine-1.4.2.jar:1.4.2]
    	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) ~[junit-platform-engine-1.4.2.jar:1.4.2]
    	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) ~[junit-platform-engine-1.4.2.jar:1.4.2]
    	at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51) ~[junit-platform-engine-1.4.2.jar:1.4.2]
    	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:220) ~[junit-platform-launcher-1.3.1.jar:1.3.1]
    	at org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$6(DefaultLauncher.java:188) ~[junit-platform-launcher-1.3.1.jar:1.3.1]
    	at org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:202) ~[junit-platform-launcher-1.3.1.jar:1.3.1]
    	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:181) ~[junit-platform-launcher-1.3.1.jar:1.3.1]
    	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:128) ~[junit-platform-launcher-1.3.1.jar:1.3.1]
    	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:150) ~[surefire-junit-platform-2.22.2.jar:2.22.2]
    	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:124) ~[surefire-junit-platform-2.22.2.jar:2.22.2]
    	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) ~[surefire-booter-2.22.2.jar:2.22.2]
    	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) ~[surefire-booter-2.22.2.jar:2.22.2]
    	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) ~[surefire-booter-2.22.2.jar:2.22.2]
    	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) ~[surefire-booter-2.22.2.jar:2.22.2]
    Caused by: org.springframework.dao.IncorrectResultSizeDataAccessException: query did not return a unique result: 5; nested exception is javax.persistence.NonUniqueResultException: query did not return a unique result: 5
    	at org.springframework.orm.jpa.EntityManagerFactoryUtils.convertJpaAccessExceptionIfPossible(EntityManagerFactoryUtils.java:384) ~[spring-orm-5.2.0.M2.jar:5.2.0.M2]
    	at org.springframework.orm.jpa.vendor.HibernateJpaDialect.translateExceptionIfPossible(HibernateJpaDialect.java:255) ~[spring-orm-5.2.0.M2.jar:5.2.0.M2]
    	at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.translateExceptionIfPossible(AbstractEntityManagerFactoryBean.java:527) ~[spring-orm-5.2.0.M2.jar:5.2.0.M2]
    	at org.springframework.dao.support.ChainedPersistenceExceptionTranslator.translateExceptionIfPossible(ChainedPersistenceExceptionTranslator.java:61) ~[spring-tx-5.2.0.M2.jar:5.2.0.M2]
    	at org.springframework.dao.support.DataAccessUtils.translateIfNecessary(DataAccessUtils.java:242) ~[spring-tx-5.2.0.M2.jar:5.2.0.M2]
    	at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:153) ~[spring-tx-5.2.0.M2.jar:5.2.0.M2]
    	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.2.0.M2.jar:5.2.0.M2]
    	at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:139) ~[spring-data-jpa-2.2.0.M4.jar:2.2.0.M4]
    	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.2.0.M2.jar:5.2.0.M2]
    	at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) ~[spring-aop-5.2.0.M2.jar:5.2.0.M2]
    	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.2.0.M2.jar:5.2.0.M2]
    	at org.springframework.data.repository.core.support.SurroundingTransactionDetectorMethodInterceptor.invoke(SurroundingTransactionDetectorMethodInterceptor.java:61) ~[spring-data-commons-2.2.0.M4.jar:2.2.0.M4]
    	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.2.0.M2.jar:5.2.0.M2]
    	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) ~[spring-aop-5.2.0.M2.jar:5.2.0.M2]
    	at com.sun.proxy.$Proxy116.findByRoleName(Unknown Source) ~[na:na]
    	at kod.sklt.service.AccountServiceImpl.addRoleToUse(AccountServiceImpl.java:37) ~[classes/:na]
    	at kod.sklt.service.AccountServiceImpl$$FastClassBySpringCGLIB$$9e15a7e8.invoke(<generated>) ~[classes/:na]
    	at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.2.0.M2.jar:5.2.0.M2]
    	at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:750) ~[spring-aop-5.2.0.M2.jar:5.2.0.M2]
    	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) ~[spring-aop-5.2.0.M2.jar:5.2.0.M2]
    	at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:345) ~[spring-tx-5.2.0.M2.jar:5.2.0.M2]
    	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:99) ~[spring-tx-5.2.0.M2.jar:5.2.0.M2]
    	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.2.0.M2.jar:5.2.0.M2]
    	at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:689) ~[spring-aop-5.2.0.M2.jar:5.2.0.M2]
    	at kod.sklt.service.AccountServiceImpl$$EnhancerBySpringCGLIB$$813c99a.addRoleToUse(<generated>) ~[classes/:na]
    	at kod.sklt.KodCms.addMembre(KodCms.java:49) ~[classes/:na]
    	at kod.sklt.KodCms.run(KodCms.java:39) ~[classes/:na]
    	at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:820) ~[spring-boot-2.2.0.M3.jar:2.2.0.M3]
    	... 70 common frames omitted
    Caused by: javax.persistence.NonUniqueResultException: query did not return a unique result: 5
    	at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:128) ~[hibernate-core-5.4.2.Final.jar:5.4.2.Final]
    	at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:181) ~[hibernate-core-5.4.2.Final.jar:5.4.2.Final]
    	at org.hibernate.query.internal.AbstractProducedQuery.getSingleResult(AbstractProducedQuery.java:1584) ~[hibernate-core-5.4.2.Final.jar:5.4.2.Final]
    	at org.hibernate.query.criteria.internal.compile.CriteriaQueryTypeQueryAdapter.getSingleResult(CriteriaQueryTypeQueryAdapter.java:111) ~[hibernate-core-5.4.2.Final.jar:5.4.2.Final]
    	at org.springframework.data.jpa.repository.query.JpaQueryExecution$SingleEntityExecution.doExecute(JpaQueryExecution.java:214) ~[spring-data-jpa-2.2.0.M4.jar:2.2.0.M4]
    	at org.springframework.data.jpa.repository.query.JpaQueryExecution.execute(JpaQueryExecution.java:91) ~[spring-data-jpa-2.2.0.M4.jar:2.2.0.M4]
    	at org.springframework.data.jpa.repository.query.AbstractJpaQuery.doExecute(AbstractJpaQuery.java:136) ~[spring-data-jpa-2.2.0.M4.jar:2.2.0.M4]
    	at org.springframework.data.jpa.repository.query.AbstractJpaQuery.execute(AbstractJpaQuery.java:125) ~[spring-data-jpa-2.2.0.M4.jar:2.2.0.M4]
    	at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:602) ~[spring-data-commons-2.2.0.M4.jar:2.2.0.M4]
    	at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.lambda$invoke$3(RepositoryFactorySupport.java:592) ~[spring-data-commons-2.2.0.M4.jar:2.2.0.M4]
    	at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:592) ~[spring-data-commons-2.2.0.M4.jar:2.2.0.M4]
    	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.2.0.M2.jar:5.2.0.M2]
    	at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:59) ~[spring-data-commons-2.2.0.M4.jar:2.2.0.M4]
    	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.2.0.M2.jar:5.2.0.M2]
    	at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:345) ~[spring-tx-5.2.0.M2.jar:5.2.0.M2]
    	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:99) ~[spring-tx-5.2.0.M2.jar:5.2.0.M2]
    	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.2.0.M2.jar:5.2.0.M2]
    	at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) ~[spring-tx-5.2.0.M2.jar:5.2.0.M2]
    	... 92 common frames omitted
     
    2019-08-01 11:23:12.552  INFO 1220 --- [           main] o.s.s.concurrent.ThreadPoolTaskExecutor  : Shutting down ExecutorService 'applicationTaskExecutor'
    2019-08-01 11:23:12.556  INFO 1220 --- [           main] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
    2019-08-01 11:23:12.558  INFO 1220 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Shutdown initiated...
    2019-08-01 11:23:12.566  INFO 1220 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Shutdown completed.
    2019-08-01 11:23:12.570 ERROR 1220 --- [           main] o.s.test.context.TestContextManager      : Caught exception while allowing TestExecutionListener [org.springframework.test.context.web.ServletTestExecutionListener@29215f06] to prepare test instance [kod.sklt.DemoApplicationTests@5a57cf90]
     
    java.lang.IllegalStateException: Failed to load ApplicationContext
    	at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) ~[spring-test-5.2.0.M2.jar:5.2.0.M2]
    	at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:122) ~[spring-test-5.2.0.M2.jar:5.2.0.M2]
    	at org.springframework.test.context.web.ServletTestExecutionListener.setUpRequestContextIfNecessary(ServletTestExecutionListener.java:190) ~[spring-test-5.2.0.M2.jar:5.2.0.M2]
    	at org.springframework.test.context.web.ServletTestExecutionListener.prepareTestInstance(ServletTestExecutionListener.java:132) ~[spring-test-5.2.0.M2.jar:5.2.0.M2]
    	at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:244) ~[spring-test-5.2.0.M2.jar:5.2.0.M2]
    	at org.springframework.test.context.junit.jupiter.SpringExtension.postProcessTestInstance(SpringExtension.java:98) [spring-test-5.2.0.M2.jar:5.2.0.M2]
    	at org.junit.jupiter.engine.descriptor.ClassTestDescriptor.lambda$invokeTestInstancePostProcessors$6(ClassTestDescriptor.java:352) [junit-jupiter-engine-5.4.2.jar:5.4.2]
    	at org.junit.jupiter.engine.descriptor.JupiterTestDescriptor.executeAndMaskThrowable(JupiterTestDescriptor.java:204) ~[junit-jupiter-engine-5.4.2.jar:5.4.2]
    	at org.junit.jupiter.engine.descriptor.ClassTestDescriptor.lambda$invokeTestInstancePostProcessors$7(ClassTestDescriptor.java:352) [junit-jupiter-engine-5.4.2.jar:5.4.2]
    	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) ~[na:1.8.0_212]
    	at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) ~[na:1.8.0_212]
    	at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382) ~[na:1.8.0_212]
    	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) ~[na:1.8.0_212]
    	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) ~[na:1.8.0_212]
    	at java.util.stream.StreamSpliterators$WrappingSpliterator.forEachRemaining(StreamSpliterators.java:312) ~[na:1.8.0_212]
    	at java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:743) ~[na:1.8.0_212]
    	at java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:742) ~[na:1.8.0_212]
    	at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580) ~[na:1.8.0_212]
    	at org.junit.jupiter.engine.descriptor.ClassTestDescriptor.invokeTestInstancePostProcessors(ClassTestDescriptor.java:351) [junit-jupiter-engine-5.4.2.jar:5.4.2]
    	at org.junit.jupiter.engine.descriptor.ClassTestDescriptor.instantiateAndPostProcessTestInstance(ClassTestDescriptor.java:270) [junit-jupiter-engine-5.4.2.jar:5.4.2]
    	at org.junit.jupiter.engine.descriptor.ClassTestDescriptor.lambda$testInstancesProvider$2(ClassTestDescriptor.java:259) [junit-jupiter-engine-5.4.2.jar:5.4.2]
    	at org.junit.jupiter.engine.descriptor.ClassTestDescriptor.lambda$testInstancesProvider$3(ClassTestDescriptor.java:263) [junit-jupiter-engine-5.4.2.jar:5.4.2]
    	at java.util.Optional.orElseGet(Optional.java:267) ~[na:1.8.0_212]
    	at org.junit.jupiter.engine.descriptor.ClassTestDescriptor.lambda$testInstancesProvider$4(ClassTestDescriptor.java:262) [junit-jupiter-engine-5.4.2.jar:5.4.2]
    	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$prepare$0(TestMethodTestDescriptor.java:98) ~[junit-jupiter-engine-5.4.2.jar:5.4.2]
    	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) ~[junit-platform-engine-1.4.2.jar:1.4.2]
    	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.prepare(TestMethodTestDescriptor.java:97) ~[junit-jupiter-engine-5.4.2.jar:5.4.2]
    	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.prepare(TestMethodTestDescriptor.java:68) ~[junit-jupiter-engine-5.4.2.jar:5.4.2]
    	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$prepare$1(NodeTestTask.java:107) ~[junit-platform-engine-1.4.2.jar:1.4.2]
    	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) ~[junit-platform-engine-1.4.2.jar:1.4.2]
    	at org.junit.platform.engine.support.hierarchical.NodeTestTask.prepare(NodeTestTask.java:107) ~[junit-platform-engine-1.4.2.jar:1.4.2]
    	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:75) ~[junit-platform-engine-1.4.2.jar:1.4.2]
    	at java.util.ArrayList.forEach(ArrayList.java:1257) ~[na:1.8.0_212]
    	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) ~[junit-platform-engine-1.4.2.jar:1.4.2]
    	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) ~[junit-platform-engine-1.4.2.jar:1.4.2]
    	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) ~[junit-platform-engine-1.4.2.jar:1.4.2]
    	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:125) ~[junit-platform-engine-1.4.2.jar:1.4.2]
    	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:135) ~[junit-platform-engine-1.4.2.jar:1.4.2]
    	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:123) ~[junit-platform-engine-1.4.2.jar:1.4.2]
    	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) ~[junit-platform-engine-1.4.2.jar:1.4.2]
    	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:122) ~[junit-platform-engine-1.4.2.jar:1.4.2]
    	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:80) ~[junit-platform-engine-1.4.2.jar:1.4.2]
    	at java.util.ArrayList.forEach(ArrayList.java:1257) ~[na:1.8.0_212]
    	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) ~[junit-platform-engine-1.4.2.jar:1.4.2]
    	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) ~[junit-platform-engine-1.4.2.jar:1.4.2]
    	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) ~[junit-platform-engine-1.4.2.jar:1.4.2]
    	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:125) ~[junit-platform-engine-1.4.2.jar:1.4.2]
    	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:135) ~[junit-platform-engine-1.4.2.jar:1.4.2]
    	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:123) ~[junit-platform-engine-1.4.2.jar:1.4.2]
    	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) ~[junit-platform-engine-1.4.2.jar:1.4.2]
    	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:122) ~[junit-platform-engine-1.4.2.jar:1.4.2]
    	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:80) ~[junit-platform-engine-1.4.2.jar:1.4.2]
    	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) ~[junit-platform-engine-1.4.2.jar:1.4.2]
    	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) ~[junit-platform-engine-1.4.2.jar:1.4.2]
    	at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51) ~[junit-platform-engine-1.4.2.jar:1.4.2]
    	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:220) ~[junit-platform-launcher-1.3.1.jar:1.3.1]
    	at org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$6(DefaultLauncher.java:188) ~[junit-platform-launcher-1.3.1.jar:1.3.1]
    	at org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:202) ~[junit-platform-launcher-1.3.1.jar:1.3.1]
    	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:181) ~[junit-platform-launcher-1.3.1.jar:1.3.1]
    	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:128) ~[junit-platform-launcher-1.3.1.jar:1.3.1]
    	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:150) ~[surefire-junit-platform-2.22.2.jar:2.22.2]
    	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:124) ~[surefire-junit-platform-2.22.2.jar:2.22.2]
    	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) ~[surefire-booter-2.22.2.jar:2.22.2]
    	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) ~[surefire-booter-2.22.2.jar:2.22.2]
    	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) ~[surefire-booter-2.22.2.jar:2.22.2]
    	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) ~[surefire-booter-2.22.2.jar:2.22.2]
    Caused by: java.lang.IllegalStateException: Failed to execute CommandLineRunner
    	at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:823) ~[spring-boot-2.2.0.M3.jar:2.2.0.M3]
    	at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:804) ~[spring-boot-2.2.0.M3.jar:2.2.0.M3]
    	at org.springframework.boot.SpringApplication.run(SpringApplication.java:327) ~[spring-boot-2.2.0.M3.jar:2.2.0.M3]
    	at org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:132) ~[spring-boot-test-2.2.0.M3.jar:2.2.0.M3]
    	at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) ~[spring-test-5.2.0.M2.jar:5.2.0.M2]
    	at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ~[spring-test-5.2.0.M2.jar:5.2.0.M2]
    	... 65 common frames omitted
    Caused by: org.springframework.dao.IncorrectResultSizeDataAccessException: query did not return a unique result: 5; nested exception is javax.persistence.NonUniqueResultException: query did not return a unique result: 5
    	at org.springframework.orm.jpa.EntityManagerFactoryUtils.convertJpaAccessExceptionIfPossible(EntityManagerFactoryUtils.java:384) ~[spring-orm-5.2.0.M2.jar:5.2.0.M2]
    	at org.springframework.orm.jpa.vendor.HibernateJpaDialect.translateExceptionIfPossible(HibernateJpaDialect.java:255) ~[spring-orm-5.2.0.M2.jar:5.2.0.M2]
    	at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.translateExceptionIfPossible(AbstractEntityManagerFactoryBean.java:527) ~[spring-orm-5.2.0.M2.jar:5.2.0.M2]
    	at org.springframework.dao.support.ChainedPersistenceExceptionTranslator.translateExceptionIfPossible(ChainedPersistenceExceptionTranslator.java:61) ~[spring-tx-5.2.0.M2.jar:5.2.0.M2]
    	at org.springframework.dao.support.DataAccessUtils.translateIfNecessary(DataAccessUtils.java:242) ~[spring-tx-5.2.0.M2.jar:5.2.0.M2]
    	at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:153) ~[spring-tx-5.2.0.M2.jar:5.2.0.M2]
    	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.2.0.M2.jar:5.2.0.M2]
    	at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:139) ~[spring-data-jpa-2.2.0.M4.jar:2.2.0.M4]
    	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.2.0.M2.jar:5.2.0.M2]
    	at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) ~[spring-aop-5.2.0.M2.jar:5.2.0.M2]
    	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.2.0.M2.jar:5.2.0.M2]
    	at org.springframework.data.repository.core.support.SurroundingTransactionDetectorMethodInterceptor.invoke(SurroundingTransactionDetectorMethodInterceptor.java:61) ~[spring-data-commons-2.2.0.M4.jar:2.2.0.M4]
    	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.2.0.M2.jar:5.2.0.M2]
    	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) ~[spring-aop-5.2.0.M2.jar:5.2.0.M2]
    	at com.sun.proxy.$Proxy116.findByRoleName(Unknown Source) ~[na:na]
    	at kod.sklt.service.AccountServiceImpl.addRoleToUse(AccountServiceImpl.java:37) ~[classes/:na]
    	at kod.sklt.service.AccountServiceImpl$$FastClassBySpringCGLIB$$9e15a7e8.invoke(<generated>) ~[classes/:na]
    	at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.2.0.M2.jar:5.2.0.M2]
    	at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:750) ~[spring-aop-5.2.0.M2.jar:5.2.0.M2]
    	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) ~[spring-aop-5.2.0.M2.jar:5.2.0.M2]
    	at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:345) ~[spring-tx-5.2.0.M2.jar:5.2.0.M2]
    	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:99) ~[spring-tx-5.2.0.M2.jar:5.2.0.M2]
    	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.2.0.M2.jar:5.2.0.M2]
    	at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:689) ~[spring-aop-5.2.0.M2.jar:5.2.0.M2]
    	at kod.sklt.service.AccountServiceImpl$$EnhancerBySpringCGLIB$$813c99a.addRoleToUse(<generated>) ~[classes/:na]
    	at kod.sklt.KodCms.addMembre(KodCms.java:49) ~[classes/:na]
    	at kod.sklt.KodCms.run(KodCms.java:39) ~[classes/:na]
    	at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:820) ~[spring-boot-2.2.0.M3.jar:2.2.0.M3]
    	... 70 common frames omitted
    Caused by: javax.persistence.NonUniqueResultException: query did not return a unique result: 5
    	at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:128) ~[hibernate-core-5.4.2.Final.jar:5.4.2.Final]
    	at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:181) ~[hibernate-core-5.4.2.Final.jar:5.4.2.Final]
    	at org.hibernate.query.internal.AbstractProducedQuery.getSingleResult(AbstractProducedQuery.java:1584) ~[hibernate-core-5.4.2.Final.jar:5.4.2.Final]
    	at org.hibernate.query.criteria.internal.compile.CriteriaQueryTypeQueryAdapter.getSingleResult(CriteriaQueryTypeQueryAdapter.java:111) ~[hibernate-core-5.4.2.Final.jar:5.4.2.Final]
    	at org.springframework.data.jpa.repository.query.JpaQueryExecution$SingleEntityExecution.doExecute(JpaQueryExecution.java:214) ~[spring-data-jpa-2.2.0.M4.jar:2.2.0.M4]
    	at org.springframework.data.jpa.repository.query.JpaQueryExecution.execute(JpaQueryExecution.java:91) ~[spring-data-jpa-2.2.0.M4.jar:2.2.0.M4]
    	at org.springframework.data.jpa.repository.query.AbstractJpaQuery.doExecute(AbstractJpaQuery.java:136) ~[spring-data-jpa-2.2.0.M4.jar:2.2.0.M4]
    	at org.springframework.data.jpa.repository.query.AbstractJpaQuery.execute(AbstractJpaQuery.java:125) ~[spring-data-jpa-2.2.0.M4.jar:2.2.0.M4]
    	at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:602) ~[spring-data-commons-2.2.0.M4.jar:2.2.0.M4]
    	at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.lambda$invoke$3(RepositoryFactorySupport.java:592) ~[spring-data-commons-2.2.0.M4.jar:2.2.0.M4]
    	at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:592) ~[spring-data-commons-2.2.0.M4.jar:2.2.0.M4]
    	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.2.0.M2.jar:5.2.0.M2]
    	at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:59) ~[spring-data-commons-2.2.0.M4.jar:2.2.0.M4]
    	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.2.0.M2.jar:5.2.0.M2]
    	at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:345) ~[spring-tx-5.2.0.M2.jar:5.2.0.M2]
    	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:99) ~[spring-tx-5.2.0.M2.jar:5.2.0.M2]
    	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.2.0.M2.jar:5.2.0.M2]
    	at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) ~[spring-tx-5.2.0.M2.jar:5.2.0.M2]
    	... 92 common frames omitted
     
    ]]></system-out>
      </testcase>
    </testsuite>

  4. #4
    Rédacteur/Modérateur
    Avatar de andry.aime
    Homme Profil pro
    Inscrit en
    Septembre 2007
    Messages
    8 391
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Ile Maurice

    Informations forums :
    Inscription : Septembre 2007
    Messages : 8 391
    Par défaut
    Bonjour,

    javax.persistence.NonUniqueResultException: query did not return a unique result
    C'est que tu utilises la méthode uniqueResult() or que la requête retourne plus d'une ligne.

    A+.

  5. #5
    Membre éprouvé

    Profil pro
    Inscrit en
    Août 2008
    Messages
    1 222
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Août 2008
    Messages : 1 222
    Par défaut
    Merci pour cette précision,

    Par contre je ne sais pas comment et ou chercher puisque que c'est spring boot qui fait tout le boulot ...

    mon application récupère les rôles des membres,
    je suppose d'après ma table qui possède 3 résultat est la table role et membre

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
     
    select * from membre_roles;
    +-----------+----------+
    | membre_id | roles_id |
    +-----------+----------+
    |         1 |        3 |
    |         1 |        4 |
    |         2 |        4 |
    +-----------+----------+
    3 rows in set (0.00 sec)
    Voici l'entité de ma table membre:

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
     
    package ohkod.sklt.entities;
    import java.util.ArrayList;
    import java.util.Collection;
    import javax.persistence.Column;
    import javax.persistence.Entity;
    import javax.persistence.FetchType;
    import javax.persistence.GeneratedValue;
    import javax.persistence.Id;
    import javax.persistence.ManyToMany;
     
    import com.fasterxml.jackson.annotation.JsonIgnore;
    import com.fasterxml.jackson.annotation.JsonSetter;
    @Entity
     
    public class Membre{
        @Id @GeneratedValue
        private Long id;
        @Column(unique=true)
        private String username;
        private String password;
        @ManyToMany(fetch=FetchType.EAGER)
        private Collection<AppRole> roles = new ArrayList<>();
     
        public Membre( 
            Long id, 
            String username, 
            String password, 
            Collection<AppRole> roles) {
            super();
            this.id = id;
            this.username = username;
            this.password = password;
            this.roles = roles;
        }
     
        public Membre() {
            super();
        }
     
        public Long getId() {
            return this.id;
        }
     
        public void setId(Long id) {
            this.id = id;
        }
     
        public String getUsername() {
            return this.username;
        }
     
        public void setUsername(String username) {
            this.username = username;
        }
        @JsonIgnore
        public String getpassword() {
            return this.password;
        }
        @JsonSetter
        public void setpassword(String password) {
            this.password = password;
        }
     
        public Collection<AppRole> getRoles() {
            return this.roles;
        }
     
        public void setRoles(Collection<AppRole> roles) {
            this.roles = roles;
        }
     
    }
    en mode debug mon application fonctionne correctement pas de génération d'erreur.
    Je dois comprendre pourquoi boot a besoin de faire uniqueResult() dans le package de maven?

  6. #6
    Rédacteur/Modérateur
    Avatar de andry.aime
    Homme Profil pro
    Inscrit en
    Septembre 2007
    Messages
    8 391
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Ile Maurice

    Informations forums :
    Inscription : Septembre 2007
    Messages : 8 391
    Par défaut
    Bonjour,

    Citation Envoyé par keokaz Voir le message
    en mode debug mon application fonctionne correctement pas de génération d'erreur.
    Je dois comprendre pourquoi boot a besoin de faire uniqueResult() dans le package de maven?
    L'erreur se passe pendant l'exécution des tests unitaires avant la création de l'archive, plus précisément dans la classe DemoApplicationTests. Quand tu lances ton application en mode debug, le test contenant l'erreur n'est pas exécuté.

    A+.

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. [Python 3.X] Problème pour télécharger des package erreur: "HTTPSConnectionPool"
    Par Alouqua dans le forum Général Python
    Réponses: 3
    Dernier message: 01/04/2019, 18h18
  2. [TOMCAT] Problème à l'installation du package admin.
    Par TheRussian dans le forum Tomcat et TomEE
    Réponses: 4
    Dernier message: 12/03/2008, 13h33
  3. Réponses: 2
    Dernier message: 22/05/2006, 10h59
  4. [Débutant] erreurs et packages
    Par zais_ethael dans le forum Oracle
    Réponses: 1
    Dernier message: 11/01/2006, 01h07
  5. Réponses: 2
    Dernier message: 17/11/2004, 10h50

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo