Hi,
   I create a basic JSF web project with 2.1-snapshot version. 
  The first I modify the pom.xml add blow lines between <id>  and <properties> 
in profile sqlserver
            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>
  The second I modify the jdbc.url and jdbc.username and jdbc.password to fit 
my DB system.
  Then I run mvn command at project folder. It report error as below:
  
   ERROR [main] SchemaExport.execute(274) | schema export unsuccessful
   com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link 
failure 
 
   But I run mvn -Psqlserver   command, it goes well.
   It seems that <activation> tag do not activate?

    Regards,

Chuangyu.

Reply via email to