title: AOP Spring Wildcard dont work
body: <p>I'm Trying to learn AOP using this Tutorial:</p>
  
  <p><a href="https://www.youtube.com/watch?v=h7IdaLybg9A#t=10/" rel="nofollow">Spring Tutorial 28 - Pointcuts and Wildcard Expressions</a></p>
  
  <p>I'm not using XML but annotation.</p>
  
  <p>the problem occur when i use wildcards and not the direct words. </p>
  
  <p>this code works great:</p>
  
  <pre><code>import org.aspectj.lang.annotation.Aspect;
  import org.aspectj.lang.annotation.Before;
  import org.springframework.stereotype.Component;
  
  @Aspect
  @Component
  public class LoggingAspect {
  
      @Before("execution(public String  get*())")
      public void loggingAdvice(){
          System.out.println("Advice run. Get Method Called");
      }
  </code></pre>
  
  <p>this code don't work:</p>
  
  <pre><code>import org.aspectj.lang.annotation.Aspect;
  import org.aspectj.lang.annotation.Before;
  import org.springframework.stereotype.Component;
  
  @Aspect
  @Component
  public class LoggingAspect {
  
      @Before("execution(* *  get*())")
      public void loggingAdvice(){
          System.out.println("Advice run. Get Method Called");
      }
  </code></pre>
  
  <p>and this is the main:</p>
  
  <pre><code>@Component
  public class AopMain {
      private final static String xmlPath = "file:src/main/webapp/WEB-INF/spring/context.xml";
  
      public static void main(String[] args) throws IOException {
          ApplicationContext ctx = new ClassPathXmlApplicationContext(xmlPath);
          ShapeService shapeService = ctx.getBean("shapeService", ShapeService.class);
          System.out.println(shapeService.getCircle().getName());}
  }
  </code></pre>
  
  <p>the Error i get is this:</p>
  
  <pre><code>Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping#0': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.handler.MappedInterceptor#0': Cannot create inner bean '(inner bean)' of type [org.springframework.web.servlet.handler.ConversionServiceExposingInterceptor] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)': Cannot resolve reference to bean 'org.springframework.format.support.FormattingConversionServiceFactoryBean#0' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.format.support.FormattingConversionServiceFactoryBean#0': Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: Pointcut is not well-formed: expecting '(' at character position 15
  execution(* *  get*())
                 ^^^
  </code></pre>
  
  <p>does anyone know why it dosnt work?</p>