Mvn test specifies the use of a class to execute an error

1. The multi-module project established by mvn is divided into multiple start,service,dao modules
2. The code of the unit test is written under start, and the code in the service,dao is tested.
executing the mvn test command will execute all the unit tests
, but the execution of mvn test-Dtest=com.test.MyTest will prompt that the corresponding

cannot be found.
[INFO] Reactor Summary:
[INFO] 
[INFO] service-com ............................. SUCCESS [  0.002 s]
[INFO] service-com-commontest .................. FAILURE [  0.819 s]
[INFO] service-com-dao ......................... SKIPPED
[INFO] service-com-service ..................... SKIPPED
[INFO] service-com-start ....................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.215 s
[INFO] Finished at: 2018-12-05T14:31:49+08:00
[INFO] Final Memory: 21M/309M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19:test (default-test) on project service-com-commontest: No tests were executed!  (Set -DfailIfNoTests=false to ignore this error.) -> [Help 1]

my TestCase is written in the test directory under start, so why would I take dao to look for test classes?

Jan.11,2022

this can't be seen. You'd better send out the xml of maven and have a look at it

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b9d55e-2f37e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b9d55e-2f37e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?